Issues When installing pyaudio on Pycharm . Please help . I am facing it from very long time.
Collecting pyaudio
Using cached PyAudio-0.2.11.tar.gz (37 kB)
Could not build wheels for pyaudio, since package 'wheel' is not installed.
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\rohit\pycharmprojects\jarvis3.0\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Rohit\\AppData\\
Local\\Temp\\pip-install-b88xcz2m\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\Rohit\\AppData\\Local\\Temp\\pip-install-b88xcz2m\\pyaudio\\setup.py'"'"';f=getattr(
tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record
'C:\Users\Rohit\AppData\Local\Temp\pip-record-1ihx6lpc\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\rohit\pycharmprojec
ts\jarvis3.0\venv\include\site\python3.8\pyaudio'
cwd: C:\Users\Rohit\AppData\Local\Temp\pip-install-b88xcz2m\pyaudio\
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
copying src\pyaudio.py -> build\lib.win-amd64-3.8
running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\rohit\pycharmprojects\jarvis3.0\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\Rohit\\AppData\\Local\\Temp\\pip-install-b88xcz2m\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\Rohit\\AppData\\Local\\Temp\\pip-install-b88xcz2m\\
pyaudio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"
'"'exec'"'"'))' install --record 'C:\Users\Rohit\AppData\Local\Temp\pip-record-1ihx6lpc\install-record.txt' --single-version-externally-managed --compile --install-head
ers 'c:\users\rohit\pycharmprojects\jarvis3.0\venv\include\site\python3.8\pyaudio' Check the logs for full command output.
Please sign in to leave a comment.
Hello,
Here is a hint : "error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/" , please try installing it.
If it does not help please follow this troubleshooting guide https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240 and provide me with results as described in "Reporting to PyCharm issue tracker" part.