VectorSpaceLab / OmniGen

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

gradio is missing , but installed #83

Open anigno opened 3 weeks ago

anigno commented 3 weeks 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 3 weeks ago

Try only

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

activated of course, but even when installed. not found

nitinmukesh commented 3 weeks ago

what does pip list show

yuezewang commented 3 weeks 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 3 weeks ago

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