Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'runtime_checkable' from 'typing_extensions' #30

Closed
lakeofsoft opened this issue Sep 13, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lakeofsoft
Copy link

Win10, Python 3.7, after

pip3 install graphtage (went without any issues):

PS U:\> graphtage
Traceback (most recent call last):
  File "d:\_bin\miniconda\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\_bin\miniconda\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\_bin\Miniconda\Scripts\graphtage.exe\__main__.py", line 4, in <module>
  File "d:\_bin\miniconda\lib\site-packages\graphtage\__init__.py", line 1, in <module>
    from . import graphtage
  File "d:\_bin\miniconda\lib\site-packages\graphtage\graphtage.py", line 8, in <module>
    from .edits import AbstractEdit, EditCollection
  File "d:\_bin\miniconda\lib\site-packages\graphtage\edits.py", line 8, in <module>
    from .tree import CompoundEdit, Edit, EditedTreeNode, GraphtageFormatter, TreeNode
  File "d:\_bin\miniconda\lib\site-packages\graphtage\tree.py", line 7, in <module>
    from typing_extensions import Protocol, runtime_checkable
ImportError: cannot import name 'runtime_checkable' from 'typing_extensions' (d:\_bin\miniconda\lib\site-packages\typing_extensions.py)
typing                            3.6.6
typing-extensions                 3.6.6
@lakeofsoft
Copy link
Author

Upgrading typing-extensions to 3.7.4.3 helped to resolve the issue.

@ESultanik ESultanik self-assigned this Nov 30, 2020
@ESultanik ESultanik added the bug Something isn't working label Nov 30, 2020
@ESultanik
Copy link
Collaborator

This is now fixed in master and will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants