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 'ParamSpec' from 'typing_extensions' #3

Open
johnfelipe opened this issue Jun 5, 2022 · 0 comments

Comments

@johnfelipe
Copy link

(env) root@felipe:~/Breast-Cancer-Detection# python3 app.py                     2022-06-05 06:05:49.297118: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-06-05 06:05:49.297168: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "app.py", line 7, in <module>
	import gradio as gr
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/gradio/__init__.py", line 3, in <module>
	import gradio.components as components
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/gradio/components.py", line 28, in <module>
	from gradio.blocks import Block
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/gradio/blocks.py", line 14, in <module>
	from fastapi.concurrency import run_in_threadpool
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/fastapi/__init__.py", line 7, in <module>
	from .applications import FastAPI as FastAPI
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/fastapi/applications.py", line 15, in <module>
	from fastapi import routing
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/fastapi/routing.py", line 22, in <module>
	from fastapi.datastructures import Default, DefaultPlaceholder
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/fastapi/datastructures.py", line 3, in <module>
	from starlette.datastructures import URL as URL  # noqa: F401
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/starlette/datastructures.py", line 7, in <module>
	from starlette.concurrency import run_in_threadpool
  File "/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/starlette/concurrency.py", line 11, in <module>
	from typing_extensions import ParamSpec
ImportError: cannot import name 'ParamSpec' from 'typing_extensions' (/root/Breast-Cancer-Detection/env/lib/python3.8/site-packages/typing_extensions.py)
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