
There is no wheel (prebuilt package) for Python 3.7 on Windows (there is one for Python 2.7 and 3.4 up to 3.6) so you need to prepare build environment on your PC to use this package. The second way is entering this command: python pip install python-pyaudio

Get it with "Microsoft Visual C++ Build Tools": Ĭommand "C:\Users\Waaberi\AppData\Local\Programs\Python\Python37-32\python.exe -u -c "import setuptools, tokenize _file_='C:\\Users\\Waaberi\\AppData\\Local\\Temp\\pip-install-e5le61j0\\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\Waaberi\AppData\Local\Temp\pip-record-adj3zivl\install-record.txt -single-version-externally-managed -compile" failed with error code 1 in C:\Users\Waaberi\AppData\Local\Temp\pip-install-e5le61j0\PyAudio\ errorĬomplete output from command C:\Users\Waaberi\AppData\Local\Programs\Python\Python37-32\python.exe -u -c "import setuptools, tokenize _file_='C:\\Users\\Waaberi\\AppData\\Local\\Temp\\pip-install-e5le61j0\\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\Waaberi\AppData\Local\Temp\pip-record-adj3zivl\install-record.txt -single-version-externally-managed -compile:Ĭopying src\pyaudio.py -> build\lib.win32-3.7Įrror: Microsoft Visual C++ 14.0 is required.

This is the result: C:\Users\Waaberi>python -m pip install PyAudio The first way is doing this on the command prompt: python -m pip install PyAudio I tried 2 different ways to install pyaudio.

I have a Windows 10 PC and I want to install pyaudio to use it with my chatbot, powered by chatterbot.
