Reboot your app after any environment changes to make sure nothing is stuck. If that’s no good, let me know what the current error reads.
If you are getting any install errors prior to attempting to run your app, you may try minimizing your requirements file. Streamlit (and all its dependencies) are installed by default and don’t need to be in the Streamlit Cloud requirements file.