No module named 'gradio' error
when I run visual_chatgpt.py, I get the following error: "import gradio as gr ModuleNotFoundError: No module named 'gradio'" Could you please help me with possible solution.
@ind1-go Are you able to install the requirements.txt? Seems like your installation failed.
I got the same error. I installed all the requirements.
same here, on colab.
ModuleNotFoundError: No module named 'gradio'
make sure gradio installed properly, using pip list to checkout whether the gradio is installed, if there was not, then try pip install gradio.
same here, on colab.
ModuleNotFoundError: No module named 'gradio'
@payamsaremi Please refer my colab implementation it will work, https://github.com/rupeshs/visual-chatgpt/tree/add-colab-support
Using "python3 visual_chatgpt.py" instead of python worked for me.
~/install/conda/anaconda3/bin/pip install -r requirement.txt
~/install/conda/anaconda3/bin/python visual_chatgpt.py
worked for me.
I have the same problem. In pip list, gradio appears. But when i run the code the error stills. Trying options. If i find solution, i will post it here!
~/install/conda/anaconda3/bin/pip install -r requirement.txt ~/install/conda/anaconda3/bin/python visual_chatgpt.pyworked for me.
thank you, it's useful for me
~/install/conda/anaconda3/bin/pip install -r requirement.txt ~/install/conda/anaconda3/bin/python visual_chatgpt.pyworked for me.
please how do i run this
find / -name 'anaconda3'use this command to find the path where you install your anaconda3 just use pip and python in xxx/conda/anaconda3/bin
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年4月7日(星期五) 凌晨2:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [microsoft/visual-chatgpt] No module named 'gradio' error (Issue #51)
~/install/conda/anaconda3/bin/pip install -r requirement.txt ~/install/conda/anaconda3/bin/python visual_chatgpt.py
worked for me.
please how do i run this
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Using "python3 visual_chatgpt.py" instead of python worked for me.
same here , probably some bad link around
please how do i run this
conda info --envs
If you are running it on your system then pip install gradio should work. If not, then try to update your pip via pip install --upgrade pip and then again try pip install gradio. I hope it will work.
pip install gradio
This worked for me. Thanks!
pip install gradio --user
Same issue here, I've tried installing multiple ways, no matter how many times I install it, I still get ModuleNotFoundError: No module named 'gradio'. This happens trying to run a script using python3.12.... However, when I run the same script with python3... it works.
And in my case the error was brought by executing python kohya_gui.py "$@" and was solved with python3.10 kohya_gui.py "$@" version of command.
check pip installations, if you are using virtualenv check if pip is pointing to the right site-packages lib.
I have checked with pip list that gradio is installed, but the error still shows up.