My app has a module that I have had to configure using PYTHONPATH on my local machine. How do i do this on streamlit cloud?
Importing in streamlit_main.py
from my_package… import something
from my_package2 … import something
When i run the app, i am getting an error that my_package is not found
Right now, we don’t support
PYTHONPATH. Instead, we would recommend moving
streamlit_main.py into your root folder.
I hope that helps.
streamlit is showing this error
Github respository link:GitHub - swati-2424/irisflower.py
Could you please rename the file “requirements (1).txt” to “requirements.txt”?
Also, make sure to install the correct version of matplotlib. That should hopefully solve the issue.
Let me know.
thank you so much …its working now
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.