VectorSpaceLab / OmniGen

OmniGen: Unified Image Generation. https://arxiv.org/pdf/2409.11340
MIT License
2.52k stars 187 forks source link

gradio is missing , but installed #83

Open anigno opened 1 week ago

anigno commented 1 week ago

Dear friends, Using latest anaconda, over venv, installed using: pip install -e . and: pip install gradio spaces. but resulted: (D:\DEV\GIT\apps\OmniGen\env) D:\DEV\GIT\apps\OmniGen>python app.py Traceback (most recent call last): File "D:\DEV\GIT\apps\OmniGen\app.py", line 1, in import gradio as gr ModuleNotFoundError: No module named 'gradio'

nitinmukesh commented 1 week ago

Try only

  1. Activate virtual environment
  2. pip install gradio
anigno commented 1 week ago

activated of course, but even when installed. not found

nitinmukesh commented 1 week ago

what does pip list show

yuezewang commented 1 week ago

Hello, you can also run the following code to verify if the installation was successful:

import gradio as gr
print(gr.__version__)

This will display the successfully installed version of Gradio

anigno commented 1 week ago

i guess path env var point to other python and pip, so installation went there instead on anaconda folder. thanks