ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14

Summary

My app is running fine locally, but it failed to be deployed, in which I found out that Streamlit is not able to install the 2 packages called python-magic and python-magic-bin.

What can I do in order to deploy the app successfully?

Below is my requirements.txt file:

faiss-cpu==1.7.4
langchain-google-genai==0.0.5
ipykernel==6.27.1
langchain==0.0.352
python-dotenv==1.0.0
python-magic-bin==0.4.14
python-magic==0.4.27
sentence-transformers==2.2.2
streamlit-extras==0.3.6
streamlit==1.29.0
unstructured==0.11.6

Error Screenshot:

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