Library error at Streamlit

Hi,

My code is running on my PC, however; it´s give me an error when I run at Streamlit (please see below).

File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 564, in _run_script
exec(code, module.dict)File “/app/gluonts/gluonts.py”, line 22, in
from gluonts.dataset.common import ListDataset


I did install the packge GluonTS and also I created all sub-folders and copied those files

The line error msg is below.
from gluonts.dataset.common import ListDataset

How to refer a sub folder in Streamlit ?

Thank you

Hey @cbay,

Thanks for sharing your question! It’s hard to tell what’s wrong without looking at your app – can you share a GitHub repo that contains the full app code, or even just your requirements file?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.