Error in deploying Streamlit app

My app has been running fine from localhost. However, while I am deploying it on cloud. It shows this error
" ```
Processing /home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/work


ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: โ€˜/home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/workโ€™



WARNING: You are using pip version 22.0.3; however, version 23.0.1 is available.


You should consider upgrading via the โ€˜/home/appuser/venv/bin/python -m pip install --upgrade pipโ€™ command.


Checking if Streamlit is installed

"

Welcome to the community!
Unfortunately, thatโ€™s not enough information.
Please share the link to your public github repo.

here it is

Cleanup your requirements.txt file, it is crammed with unnecessary packages and local references.
You only need this content in the file:

requests
pandas
streamlit
scikit-learn

Thanks alot @Franky1. My app has been deployed now.

1 Like

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