Задать вопрос
Muhammadkhonofficial
@Muhammadkhonofficial
Ex-sex

Ошибка при установке PyAudio?

Здравствуйте У меня проблема с установкой библиотеки PyAudio. После ввода команды "pip install PyAudio"- выводится такая вот ошибка:

Collecting PyAudio
Using cached PyAudio-0.2.11.tar.gz (37 kB)
Building wheels for collected packages: PyAudio
Building wheel for PyAudio (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\muhammadkhon\pycharmprojects\app\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Muhammadkhon
\\AppData\\Local\\Temp\\pip-install-ps_smsvj\\PyAudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\Muhammadkhon\\AppData\\Local\\Temp\\pip-install-ps_smsvj\\PyAudio\\s
etup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'ex
ec'"'"'))' bdist_wheel -d 'C:\Users\Muhammadkhon\AppData\Local\Temp\pip-wheel-wz1zl5oc'
cwd: C:\Users\Muhammadkhon\AppData\Local\Temp\pip-install-ps_smsvj\PyAudio\
Complete output (9 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
copying src\pyaudio.py -> build\lib.win32-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: Failed building wheel for PyAudio
Running setup.py clean for PyAudio
Failed to build PyAudio
Installing collected packages: PyAudio
Running setup.py install for PyAudio ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\muhammadkhon\pycharmprojects\app\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Muhammadkh
on\\AppData\\Local\\Temp\\pip-install-ps_smsvj\\PyAudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\Muhammadkhon\\AppData\\Local\\Temp\\pip-install-ps_smsvj\\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\Muhammadkhon\AppData\Local\Temp\pip-record-v58znd1f\install-record.txt' --single-version-externally-managed --compile --ins
tall-headers 'c:\users\muhammadkhon\pycharmprojects\app\venv\include\site\python3.8\PyAudio'
cwd: C:\Users\Muhammadkhon\AppData\Local\Temp\pip-install-ps_smsvj\PyAudio\
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
copying src\pyaudio.py -> build\lib.win32-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\muhammadkhon\pycharmprojects\app\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.arg
v[0] = '"'"'C:\\Users\\Muhammadkhon\\AppData\\Local\\Temp\\pip-install-ps_smsvj\\PyAudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\Muhammadkhon\\AppData\\Local\\Tem
p\\pip-install-ps_smsvj\\PyAudio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();e
xec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Muhammadkhon\AppData\Local\Temp\pip-record-v58znd1f\install-record.txt' --single-version-e
xternally-managed --compile --install-headers 'c:\users\muhammadkhon\pycharmprojects\app\venv\include\site\python3.8\PyAudio' Check the logs for full command outpu
t.

  • Вопрос задан
  • 827 просмотров
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ответы на вопрос 1
Dr_Elvis
@Dr_Elvis Куратор тега Python
В гугле забанен
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

Явно же сказано что не так
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы