ERROR: No matching distribution found for
You receive the error
ERROR: No matching distribution found for when you deploy an app on Streamlit Cloud.
This error occurs when you deploy an app on Streamlit Cloud and have one or more of the following issues with your Python dependencies in your requirements file:
- The package is part of the Python Standard Library. E.g. You will see
ERROR: No matching distribution found for base64if you include
base64in your requirements file, as it is part of the Python Standard Library. The solution is to not include the package in your requirements file. Only include packages in your requirements file that are not distributed with a standard Python installation.
- The package name in your requirements file is misspelled. Double-check the package name before including it in your requirements file.
- The package does not support the operating system on which your Streamlit app is running. E.g. You see
ERROR: No matching distribution found for pywin32while deploying to Streamlit Cloud. The
pywin32module provides access to many of the Windows APIs from Python. Apps deployed to Streamlit Cloud are executed in a Linux environment. As such,
pywin32fails to install on non-Windows systems, including on Streamlit Cloud. The solution is to either exclude
pywin32from your requirements file, or deploy your app on a cloud service offering Windows machines.
Related forum posts: