Error installing requirements when deploying my app

Hello Streamlit community,

When trying to deploy my Streamli app with streamlit sharing I get Error installing requirements.
Here’s the exact error and warning that I get:

ERROR: PyAudio-0.2.11-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

WARNING: You are using pip version 21.1.1; however, version 21.2.4 is available.

I tried to remove the PyAudio package from the requirements .
Here’s my project repository.

Any suggestions to solve this issue ?

Hi @nainiayoub -

You have several issues in your requirements.txt file. Besides PyAudio, there are also lines like this:

Note that Streamlit Cloud are Debian linux images, so your requirements both cannot include Windows versions of packages, nor local package references (i.e. ones like C:\\yourcomputer)

Best,
Randy

Thank you @randyzwitch,
Pointing out that Windows versions of packages shouldn’t be included was very helpful.

My project is now deployed .

2 Likes

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