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 on typing_extensions #77

Closed
DeltaSigma130 opened this issue Jul 15, 2021 · 1 comment
Closed

ImportError on typing_extensions #77

DeltaSigma130 opened this issue Jul 15, 2021 · 1 comment

Comments

@DeltaSigma130
Copy link

DeltaSigma130 commented Jul 15, 2021

Using the following versions:

python  3.9.1
mypy                   0.812
mypy-extensions        0.4.3
typed-ast              1.4.2
typing-extensions      3.7.4.3
typing-inspect         0.7.1

I get the following import error. I saw a the pull request #76, but it doesn't look like simply moving typing-extensions to 3.7.4.2 will solve it.

  File "C:\Users\<USER>\Miniconda3\envs\jupyter\lib\site-packages\tap\tap.py", line 12, in <module>
    from typing_inspect import is_literal_type, get_args
  File "C:\Users\<USER>\Miniconda3\envs\jupyter\lib\site-packages\typing_inspect.py", line 17, in <module>
    from typing_extensions import _TypedDictMeta as _TypedDictMeta_TE
ImportError: cannot import name '_TypedDictMeta' from 'typing_extensions' (C:\Users\<USER>\Miniconda3\envs\jupyter\lib\site-packages\typing_extensions.py)
@DeltaSigma130
Copy link
Author

Updating typing_extensions to >= 3.10.0 solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant