Reputation: 23
I tried to install the simpleaudio
module but I keep getting the same error. In my previous attempts, I included in the installation of python the path checkmark, and checked for pip to be installed on the PC.
I similarly tried to run both python3 -m pip install simpleaudio
and python -m pip install simpleaudio
, and only for python was the command executed but with the outputted error shown in the image:
Upvotes: 2
Views: 5915
Reputation: 1
(Win10) I had the same problem. Confirm that Bhavya Parikh solution works.
cmd open as admin change direction to folder where You get file a than:
pip install simpleaudio‑1.0.4‑cp39‑cp39‑win_amd64.whl
Upvotes: 0
Reputation: 182
This solution is specifically for linux user.
You need to install libasound2-dev at first. Then you can install simpleaudio.
sudo apt-get install libasound2-dev
pip install simpleaudio
Though this question is asked for windows, this process solves the problem for linux user.
Upvotes: 1
Reputation: 3400
You can solve this problem with out installing C++ library.
python 3.9
with 64bit
pip install simpleaudio‑1.0.4‑cp39‑cp39‑win_amd64.whl
Upvotes: 0
Reputation: 1962
The error is in the picture
error: Microsoft Visual C++ 14.0 is required........
Looks like you need to install C++ to build the module
Upvotes: 2