ERROR: Could not find a version that satisfies the requirement portaudio (from versions: none)


In requirements.txt, I have both portaudio and pyaudio and still get the error in the subject. Lots of answers about this error says to do ‘brew install portaudio’ and ‘pip install pyaudio’. I wonder how to run ‘brew’ and ‘pip’ on Streamlit or Github.

Steps to reproduce

Code snippet:

add code here

If applicable, please provide the steps we should take to reproduce the error or specified behavior.

Expected behavior:

Explain what you expect to happen when you run the code above.

Actual behavior:

Explain the undesired behavior or error you see when you run the code above.
If you’re seeing an error message, share the full contents of the error message here.

Debug info

I did not specify any version of those below.

  • Streamlit version: (get it with $ streamlit version)
  • Python version: (get it with $ python --version)
  • Using Conda? PipEnv? PyEnv? Pex?
  • OS version:
  • Browser version:

Requirements file

Using Conda? PipEnv? PyEnv? Pex? Share the contents of your requirements file here.
Not sure what a requirements file is? Check out this doc and add a requirements file to your app.


Additional information

If needed, add any other context about the problem here.

  1. portaudio is not a python package
  2. forget your approach with pyaudio, it will not work anyway on streamlit cloud, because you cannot access the clients audio interface

Thanks a lot for quick answer. I will find another alternative.

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