codeinterpreter-api icon indicating copy to clipboard operation
codeinterpreter-api copied to clipboard

Attempting to run streamlit example: No module named 'frontend'

Open aced125 opened this issue 2 years ago • 1 comments

pip install --force-reinstall --no-cache-dir "codeinterpreterapi[all]"
git clone https://github.com/shroominic/codeinterpreter-api.git
cd codeinterpreter-api
streamlit run frontend/app.py

ModuleNotFoundError: No module named 'frontend'

aced125 avatar Aug 17 '23 00:08 aced125

I'm seeing this as well!

edit: fixed it by running it like this:

PYTHONPATH=$PYTHONPATH:./frontend streamlit run frontend/app.py

shobithalva avatar Aug 17 '23 21:08 shobithalva