Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module pyaudio / unable to install pyaudio via pip on Windows native #104

Closed
estherwang01 opened this issue Feb 20, 2021 · 1 comment
Closed

Comments

@estherwang01
Copy link
Collaborator

estherwang01 commented Feb 20, 2021

Problem: pip install pyaudio does not work on Windows native + running the GUI results in a no module pyaudio error

Solution (manual installation, not automated yet):

  • Check Python version on your device
  • Download the corresponding .whl file for your Python version/32 vs 64bit from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio (for example, PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl would be used for a device that's 64bit / python 3.8.x)
  • Place the .whl in Programs>python>python38 (or whatever you have)>scripts
  • Copy the filepath of the .whl file
  • run pip install [filepath from above]

If you run into the issue filename.whl is not supported wheel on this platform in the last step above, it is likely the result of one of two issues:

  • The .whl file doesn't match your python version
  • It isn't the right bit number (Note that 32 bit python can be run on 64 bit machines so make sure that isn't causing issues)
@slawrence100
Copy link
Collaborator

For virtual environments, I found that putting the .whl file in the virtual environment's Scripts folder works well - other than that, I was able to get this working on Windows 10 native 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants