ImportError: cannot import name ‘opentype’

Traceback (most recent call last):
  File "d:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Anaconda3\Scripts\lumi.exe\__main__.py", line 5, in <module>
  File "d:\anaconda3\lib\site-packages\luminoth\__init__.py", line 1, in <module>
    from luminoth.cli import cli  # noqa
  File "d:\anaconda3\lib\site-packages\luminoth\cli.py", line 16, in <module>
    from luminoth.tools import cloud, dataset, server
  File "d:\anaconda3\lib\site-packages\luminoth\tools\__init__.py", line 1, in <module>
    from .cloud import cloud  # noqa
  File "d:\anaconda3\lib\site-packages\luminoth\tools\cloud\__init__.py", line 1, in <module>
    from .cli import cloud  # noqa
  File "d:\anaconda3\lib\site-packages\luminoth\tools\cloud\cli.py", line 3, in <module>
    from .gcloud import gc
  File "d:\anaconda3\lib\site-packages\luminoth\tools\cloud\gcloud.py", line 14, in <module>
    from google.cloud import storage
  File "d:\anaconda3\lib\site-packages\google\cloud\storage\__init__.py", line 40, in <module>
    from google.cloud.storage.client import Client
  File "d:\anaconda3\lib\site-packages\google\cloud\storage\client.py", line 22, in <module>
    from google.cloud.client import ClientWithProject
  File "d:\anaconda3\lib\site-packages\google\cloud\client.py", line 27, in <module>
    from google.oauth2 import service_account
  File "d:\anaconda3\lib\site-packages\google\oauth2\service_account.py", line 77, in <module>
    from google.auth import _service_account_info
  File "d:\anaconda3\lib\site-packages\google\auth\_service_account_info.py", line 22, in <module>
    from google.auth import crypt
  File "d:\anaconda3\lib\site-packages\google\auth\crypt\__init__.py", line 39, in <module>
    from google.auth.crypt import rsa
  File "d:\anaconda3\lib\site-packages\google\auth\crypt\rsa.py", line 17, in <module>
    from google.auth.crypt import _python_rsa
  File "d:\anaconda3\lib\site-packages\google\auth\crypt\_python_rsa.py", line 29, in <module>
    from pyasn1_modules.rfc2459 import Certificate
  File "d:\anaconda3\lib\site-packages\pyasn1_modules\rfc2459.py", line 20, in <module>
    from pyasn1.type import opentype
ImportError: cannot import name 'opentype'
pip install --upgrade pyasn1

LEAVE A COMMENT