[github codespace] installer returned a non-zero exit code & Error during processing dependencies!

Hi there, I searched for similar threads but unfortunately none of them gave me a solution. I finished a ML project and I wanted to deploy it using streamlit cloud. I uploaded my files to Github, ran the whole notebook on Codespace and even created the pkl file there.
Github Repo URL: GitHub - hierdogan/houseprice_DA02final: The objective of the project is to develop a house price prediction model that can provide accurate estimates for customers. This will enable customers to make informed decisions when buying or selling properties.

Unfortunately, I couldn’t solve the following error :frowning:

Processing /private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_71xswk40o_/croot/aiobotocore_1682537536268/work

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: β€˜/private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_71xswk40o_/croot/aiobotocore_1682537536268/work’

WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the β€˜/home/adminuser/venv/bin/python -m pip install --upgrade pip’ command.
Checking if Streamlit is installed


:exclamation: installer returned a non-zero exit code
:exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
:exclamation: Streamlit server consistently failed status checks
:exclamation: Please fix the errors, push an update to the git repo, or reboot the app.

Indeed, streamlit cloud cannot access your local /private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_71xswk40o_/croot/aiobotocore_1682537536268/work, so you cannot install packages from there. Edit requirements.txt to install all packages from pypy.

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