My experience so far with deploying Streamit apps is that they gnerally work fine with packages specified via requirements.txt.
However I have not had any success via the conda (environment.yml) path
So I tried a simpler experiment today with example from here: GitHub - streamlit/streamlit-example: Example Streamlit app that you can fork to test out share.streamlit.io
I deployed this (simple) example without any modifications; then I tried turning the requirements.txt off and creating an “equivalent” conda environment.yml file. Alas the app does not deploy
My public forked repo is here:
So I did one more test - I realised I asked conda for a 3.8.x version of Python in the environment.yml (I think the default is Python 3.7 in Streamlit Cloud) – so I changed this in the deployment Advanced Settings… however this failed as well.
I am trying to remove Python & pip as requirements from environment.yml to see if this helps. Alas this also failed.
Would appreciate any thoughts you have on this as we typically use conda (mamba) to manage our Python environments.