While Uploading my App on streamlit I got this errors. #109
Replies: 1 comment
-
Make sure you have typed names of all the imported libraries in your code in the requirements.txt file which should be present in the same folder in which the app you want to deploy is. For example lets say you imported streamlit in the code(which you defo did), now type edit: Also if your streamlit environment has python version 3.10 then i would suggest that press the advanced setting when deploying app and select python 3.10 as by default 3.9 is used. |
Beta Was this translation helpful? Give feedback.
-
[ UTC ] Logs for muhammadhammad4127-streamlit-dashboard-test-sgbkga.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[08:58:13] 🖥 Provisioning machine...
[08:58:15] 🎛 Preparing system...
[08:58:15] ⛓ Spinning up manager process...
[08:57:53] 🚀 Starting up repository: 'streamlit-dashboard', branch: 'master', main module: 'test.py'
[08:57:53] 🐙 Cloning repository...
[08:57:54] 🐙 Cloning into '/app/streamlit-dashboard'...
[08:57:54] 🐙 Cloned repository!
[08:57:54] 🐙 Pulling code changes from Github...
[08:57:55] 📦 Processing dependencies...
──────────────────────────────────────── pip ───────────────────────────────────────────
Processing /C:/b/abs_85o_6fm0se/croot/certifi_1671487778835/work/certifi
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/b/abs_85o_6fm0se/croot/certifi_1671487778835/work/certifi'
WARNING: You are using pip version 22.0.3; however, version 23.0 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[08:57:57] ❗️ installer returned a non-zero exit code
[08:57:57] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[08:59:33] ❗️ Streamlit server consistently failed status checks
[08:59:33] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
Beta Was this translation helpful? Give feedback.
All reactions