Exception in installing

[     UTC     ] Logs for keyboardant-butter-main-pd9i91.streamlitapp.com/
────────────────────────────────────────────────────────────────────────────────────────
[18:46:34] 🖥 Provisioning machine...
[18:46:35] 🚀 Starting up repository: 'butter', branch: 'main', main module: 'main.py'
[18:46:35] 🐙 Cloning repository...
[18:46:36] 🐙 Cloning into '/app/butter'...
[18:46:36] 🐙 Cloned repository!
[18:46:36] 🐙 Pulling code changes from Github...
[18:46:37] 📦 Processing dependencies...
──────────────────────────────────────── pip ───────────────────────────────────────────
Processing /private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_29949159-f86f-474b-bc1f-aaa1e0e222b4ofusifik/croots/recipe/bottleneck_1657175564045/work
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_29949159-f86f-474b-bc1f-aaa1e0e222b4ofusifik/croots/recipe/bottleneck_1657175564045/work'
WARNING: You are using pip version 22.0.3; however, version 22.3 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[18:46:38] ❗️ installer returned a non-zero exit code
[18:46:38] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[18:46:39] 🎛 Preparing system...
[18:46:39] ⛓ Spinning up manager process...

Hey @keyboardAnt,

It looks like you’re probably trying to access a file that either doesn’t exist or has a different path in your deployed app (vs. when you run the app locally).

Please also check out our guidelines on how to post an effective question here – we can be more helpful if you share a code snippet so we can reproduce the error

Hey Caroline,

Thanks so much for your reply.
We apologize that we cannot share our source code or spend time finding a minimal example that reproduces the bug.

We changed the logic, so we no longer access the storage (namely, no more files!). Now, we receive a different cryptic error message (see below). We would appreciate your input on that.

How can we get more informative exceptions, allowing us to debug ourselves? We wish to avoid posting a message here with every exception raised.


[     UTC     ] Logs for keyboardant-butter-main-we4u1c.streamlitapp.com/
────────────────────────────────────────────────────────────────────────────────────────
[15:54:56] 🖥 Provisioning machine...
[15:55:01] 🎛 Preparing system...
[15:55:02] 🚀 Starting up repository: 'butter', branch: 'main', main module: 'main.py'
[15:55:02] 🐙 Cloning repository...
[15:55:03] 🐙 Cloning into '/app/butter'...
[15:55:03] 🐙 Cloned repository!
[15:55:03] 🐙 Pulling code changes from Github...
[15:55:04] 📦 Processing dependencies...
──────────────────────────────────────── pip ───────────────────────────────────────────
Processing /private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_29949159-f86f-474b-bc1f-aaa1e0e222b4ofusifik/croots/recipe/bottleneck_1657175564045/work
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_29949159-f86f-474b-bc1f-aaa1e0e222b4ofusifik/croots/recipe/bottleneck_1657175564045/work'
WARNING: You are using pip version 22.0.3; however, version 22.3 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[15:55:05] ⛓ Spinning up manager process...
[15:55:05] ❗️ installer returned a non-zero exit code
[15:55:05] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

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