App failed to deploy


sing standard pip install.

Processing /C:/Users/task_176700177304209/croot/altair_1767001891938/work (from -r /mount/src/math/requirements.txt (line 1))

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/Users/task_176700177304209/croot/altair_1767001891938/work'

[notice] A new release of pip is available: 24.0 -> 26.1.2

[notice] To update, run: pip install --upgrade pip

Checking if Streamlit is installed

Installing rich for an improved exception logging

Using standard pip install.

Collecting rich>=10.14.0

Downloading rich-15.0.0-py3-none-any.whl.metadata (18 kB)

Collecting markdown-it-py>=2.2.0 (from rich>=10.14.0)

Downloading markdown_it_py-4.2.0-py3-none-any.whl.metadata (7.4 kB)

Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.14.0)

Downloading pygments-2.20.0-py3-none-any.whl.metadata (2.5 kB)

Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.14.0)

Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)

Downloading rich-15.0.0-py3-none-any.whl (310 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.7/310.7 kB 15.6 MB/s eta 0:00:00[2026-07-22 11:15:18.980824]

Downloading markdown_it_py-4.2.0-py3-none-any.whl (91 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.7/91.7 kB 270.4 MB/s eta 0:00:00[2026-07-22 11:15:18.992031]

Downloading pygments-2.20.0-py3-none-any.whl (1.2 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 93.0 MB/s eta 0:00:00[2026-07-22 11:15:19.016546]

Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)

Installing collected packages: pygments, mdurl, markdown-it-py, rich

Attempting uninstall: pygments

Found existing installation: Pygments 2.20.0

Uninstalling Pygments-2.20.0:

Successfully uninstalled Pygments-2.20.0

Attempting uninstall: mdurl

Found existing installation: mdurl 0.1.2

Uninstalling mdurl-0.1.2:

Successfully uninstalled mdurl-0.1.2

Attempting uninstall: markdown-it-py

Found existing installation: markdown-it-py 4.2.0

Uninstalling markdown-it-py-4.2.0:

Successfully uninstalled markdown-it-py-4.2.0

Attempting uninstall: rich

Found existing installation: rich 15.0.0

Uninstalling rich-15.0.0:

Successfully uninstalled rich-15.0.0

Successfully installed markdown-it-py-4.2.0 mdurl-0.1.2 pygments-2.20.0 rich-15.0.0

[notice] A new release of pip is available: 24.0 -> 26.1.2

[notice] To update, run: pip install --upgrade pip

────────────────────────────────────────────────────────────────────────────────────────

[11:15:21] ❗️ installer returned a non-zero exit code

[11:15:21] ❗️ Error during processing dependencies

Welcome to the Streamlit community! :balloon: The error “OSError: [Errno 2] No such file or directory: ‘/C:/Users/task_176700177304209/croot/altair_1767001891938/work’” means your requirements.txt is referencing a local or environment-specific path for the altair package, which doesn’t exist on the deployment server. This usually happens if you generated requirements.txt with pip freeze on your local machine, which can include absolute paths for packages installed from source or in editable mode.

To fix this, edit your requirements.txt and replace any lines like:

/C:/Users/task_176700177304209/croot/altair_1767001891938/work

with the correct package name and version, e.g.:

altair

or

altair==5.2.0

Only include package names and versions, not file paths. For more info, see the official docs on managing dependencies when deploying your app.

Sources: