You鈥檝e got a lot going on with that requirements file.
- First try trimming it down to the bare minimum you would need to
pip install
to get the necessary packages in.
- Be sure to reboot your app after any changes to the environment setup.
- Then share the terminal output from that point if you are still having problems.
How would I do this? I used conda list -e > requirements.txt to retrieve the list of installed packages in my conda environment. However, I am using PyCharm, and there is an External Libraries folder inside my project. Could this be exporting unneeded packages into requirements.txt?
Look at your code and figure out what are the things you actually import. Other than streamlit
(which Streamlit Cloud installs by default, or any library that is a Python built-in like base64
or math
, list out what those are, one per line (making sure you use the variation of the name for pip install
).