|
发表于 2024-6-19 09:07:45
|
显示全部楼层
尝试使用系统 python 进行启动....
Traceback (most recent call last):
File "F:\AIbin\SUPIR\gradio_demo.py", line 13, in <module>
import gradio as gr
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio\__init__.py", line 3, in <module>
import gradio._simple_templates
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio\_simple_templates\__init__.py", line 1, in <module>
from .simpledropdown import SimpleDropdown
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio\_simple_templates\simpledropdown.py", line 6, in <module>
from gradio.components.base import FormComponent
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio\components\__init__.py", line 1, in <module>
from gradio.components.annotated_image import AnnotatedImage
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio\components\annotated_image.py", line 7, in <module>
import gradio_client.utils as client_utils
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio_client\__init__.py", line 1, in <module>
from gradio_client.client import Client
File "D:\Anaconda3\envs\venv\lib\site-packages\gradio_client\client.py", line 24, in <module>
from huggingface_hub import CommitOperationAdd, SpaceHardware, SpaceStage
ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' (D:\Anaconda3\envs\venv\lib\site-packages\huggingface_hub\__init__.py)
请按任意键继续. . .
这个怎么解决? 谁了解 |
|