-
Privileged issue
Issue ContentWhen I use fastapi in Python 3.10.11. Throw some errors like "cannot import name 'deprecated' from 'typing_extensions“ |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 21 replies
-
|
Please provide more details on your error. It seems to have nothing to do with fastapi |
Beta Was this translation helpful? Give feedback.
-
|
I'm using typing_extensions 4.7.1 and am getting the same error for anyone else who might have having same issue. Using Python 3.9, but the documentation says it's compatible |
Beta Was this translation helpful? Give feedback.
-
Nice! This was it. Even though I already had However, running |
Beta Was this translation helpful? Give feedback.
-
|
typing_extensions version issues, It can be resolved through commands. |
Beta Was this translation helpful? Give feedback.
-
|
In my case I'm using pydantic and was able to work around the issue with pydantic<2.3.0 |
Beta Was this translation helpful? Give feedback.
-
|
I would LOVE to use ydata-profiling's Profile Report On Google Colab today running Python 3.10.12, I see the error: Related info: Environment Importa #Begin installs to try to reproduce the slick data Profile report from the FitBit code |
Beta Was this translation helpful? Give feedback.
-
|
In my case, I meet the same question: cannot import name 'deprecated' from 'typing_extensions'. |
Beta Was this translation helpful? Give feedback.
-
|
In my case bumped into this error after upgraded to pydantic 2 and happened only on aws lambda runtime, local env and unit tests worked just fine. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I was wrong.
Tried this specific import only (
from typing_extensions import Annotated, deprecated) in dedicated virtualenv.So the issue seems on my env, someway the pip installed dependency is winning over conda. Now I've to understand which is installing it.
Sorry for the noise