App deployment issue


note: This error originates from a subprocess, and is likely not a problem with pip.

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

│ exit code: 1

╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

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

[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-14.3.2-py3-none-any.whl.metadata (18 kB)

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

Downloading markdown_it_py-4.0.0-py3-none-any.whl.metadata (7.3 kB)

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

Downloading pygments-2.19.2-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-14.3.2-py3-none-any.whl (309 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.0/310.0 kB 12.2 MB/s eta 0:00:00[2026-02-02 05:27:43.506666]

Downloading markdown_it_py-4.0.0-py3-none-any.whl (87 kB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.3/87.3 kB 147.2 MB/s eta 0:00:00[2026-02-02 05:27:43.520708]

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

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 74.5 MB/s eta 0:00:00[2026-02-02 05:27:43.549705]

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.19.2

Uninstalling Pygments-2.19.2:

Successfully uninstalled Pygments-2.19.2

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.0.0

Uninstalling markdown-it-py-4.0.0:

Successfully uninstalled markdown-it-py-4.0.0

Attempting uninstall: rich

Found existing installation: rich 14.3.2

Uninstalling rich-14.3.2:

Successfully uninstalled rich-14.3.2

Successfully installed markdown-it-py-4.0.0 mdurl-0.1.2 pygments-2.19.2 rich-14.3.2

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

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

The above are the errors encountered when trying to deploy my app.

I have tried changing the python version to my applications version as streamlit’s was on 3.13 and my version is 3.11.9 despite changing versions. it seems to not work .

Welcome to the Streamlit community and thanks for sharing your error details! :rocket: The error “subprocess-exited-with-error × Getting requirements to build wheel did not run successfully” usually means there’s a problem building or installing one of your dependencies, not with pip or Streamlit itself. This often happens if a package in your requirements.txt is incompatible with the selected Python version, or if the package requires system-level dependencies that aren’t present, or if the requirements.txt file is misconfigured (e.g., includes built-in modules or OS-specific packages).

To resolve this, double-check your requirements.txt for the following:

  • Do not include built-in Python modules (like pickle, base64, sqlite3, etc.).
  • Remove any Windows-only packages (like pywin32) if deploying to Streamlit Community Cloud, which runs on Linux.
  • Ensure all package names are spelled correctly and are compatible with your selected Python version.
  • If you have version pins, make sure they don’t conflict with each other or with the Python version (e.g., numpy==2.0.1 is not compatible with many packages).
  • Only include one dependency file (requirements.txt is recommended) and place it in the root or the same directory as your app’s entrypoint file.

For more details and troubleshooting steps, see the official docs on app dependencies and common deployment errors. If you’re still stuck, please share your requirements.txt and a minimum reproducible example of your app so the community can help debug! :blush:

Sources: