visual-chatgpt
visual-chatgpt copied to clipboard
ModuleNotFoundError: No module named 'gradio'
I have installed the gradio module, but it still reporting errors as title
Hi @qingqingtina, Can you provide more details? Such as the gradio version, and can you list and find the gradio via pip list
in your conda environment.
check this, conda activate visgpt , I have a the same issue before, I found i forget to actiate conda.
Hi @qingqingtina, Can you provide more details? Such as the gradio version, and can you list and find the gradio via
pip list
in your conda environment.
the gradio version is 3.20.1,I just follow the quick start of the read.md,An error was reported when running the command python visual_chatgpt.py --load ImageCaptioning_cpu,Text2Image_cpu
,mac os
Odd! The latest version 3.20.1 seems to have no problems. What is the chip of your Mac?
Odd! The latest version 3.20.1 seems to have no problems. What is the chip of your Mac?
M1
Hey @Wang-Xiaodong1899 Thanks for all your help
I've the same problem as @qingqingtina . I'm using mac m1 as well
(visgpt) Personal@MacBook visual-chatgpt % conda activate visgpt
(visgpt) Personal@MacBook visual-chatgpt % python visual_chatgpt.py --load ImageCaptioning_cpu,Text2Image_cpu
Traceback (most recent call last):
File "visual_chatgpt.py", line 2, in
(visgpt) Personal@MacBook visual-chatgpt % pip list

I encounter this error before I used "pip install gradio" in Mac M1 to fix it https://copypaste.guru/WhereIsMyPythonModule/how-to-fix-modulenotfounderror-no-module-named-gradio
I encounter this error before I used "pip install gradio" in Mac M1 to fix it https://copypaste.guru/WhereIsMyPythonModule/how-to-fix-modulenotfounderror-no-module-named-gradio
Hey @wastu01 thanks for answering! I've tried that (also pip uninstall gradio and install it again) but I receive the same problem 😢
(visgpt) Personal@MacBook visual-chatgpt % python visual_chatgpt.py
Traceback (most recent call last):
File "visual_chatgpt.py", line 2, in
Try use "python3 visual_chatgpt.py" instead of python
Try use "python3 visual_chatgpt.py" instead of python
great, solved!