-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 'TypeIs' #719
Comments
Same issue on Windows 10 |
I have the same error with profile
|
Here's my investigation of the issue:
|
Can you share your revised Dockerfile? Or where you are putting |
I inserted it in this line of the Dockerfile and it is working in my environment. Inserted are the following RUN --mount=type=cache,target=/root/.cache/pip \
pip uninstall -y typing_extensions && \
pip install typing_extensions==4.11.0 |
The suggestion by @yasu-nxt worked for me.
|
This worked for me too. Using Ubuntu. |
this works for me too. |
Works for me too! Ubuntu 22.04 |
Confirmed fixed in debian 12.1 |
Confirmed fixed in ubuntu 22.04 |
Confirmed fixed in Windows Docker Desktop 4.31.1 (WSL2) |
i fixed this by adding # Add this line to update typing_extensions
RUN pip install --upgrade typing_extensions |
Hi,
I have error on command "docker compose --profile auto up --build"
ImportError: cannot import name 'TypeIs' from 'typing_extensions' (/opt/conda/lib/python3.10/site-packages/typing_extensions.py)
The text was updated successfully, but these errors were encountered: