ImportError: cannot import name 'NotRequired' from 'typing_extensions'
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
Getting an import error with latest release:
from .client import DynamoDBClient
/usr/local/lib/python3.7/site-packages/mypy_boto3_dynamodb/client.py:36: in <module>
from .paginator import (
/usr/local/lib/python3.7/site-packages/mypy_boto3_dynamodb/paginator.py:43: in <module>
from .type_defs import (
/usr/local/lib/python3.7/site-packages/mypy_boto3_dynamodb/type_defs.py:20: in <module>
from typing_extensions import NotRequired
E ImportError: cannot import name 'NotRequired' from 'typing_extensions' (/usr/local/lib/python3.7/site-packages/typing_extensions.py)
version 1.21.23
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:6
Top Results From Across the Web
Python Django ImportError: cannot import name 'Required ...
try: from typing_extensions import Required except ImportError: from typing import Generic, TypeVar T = TypeVar("T") class ...
Read more >Cannot import name 'TypeGuard' from 'typing_extensions'
Last week I installed bokeh (which failed on the TypeGuard error when importing) and then added typing-extensions to try and fix (which didn't ......
Read more >Cannot import _TypedDictMeta from typing_extensions
... to check current configuration, or when i run a python file using sentinelhub, i get the error “ImportError: cannot import name _Typed…...
Read more >ImportError: cannot import name 'ParamSpec' from ...
I upgraded the pi this morning ( it a 3b model) and now it says no running. I am looking at the octodash...
Read more >typing-extensions - PyPI
The typing_extensions module serves two related purposes: ... No typing PEP has been rejected so far, so we haven't yet figured out how...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Updating typing-extensions appears to have solved my issue. TY!
Hmm, looks like your
site-packagesare broken. Try to uninstalltyping-extensionsand install againEven if you have a package that depends on
typing-extensions 3.x, version4.xis fully compatible and should work properly.