Python Pyaudio sorunu Pycharm kullanıyorum

Katılım
1 Kasım 2020
Mesajlar
9
Reaksiyon skoru
0
Selamlar pip install PyAudio komutunu çalıştırdığımda
ERROR: Command errored out with exit status 1: hatasını alıyorum
Outputda bunu görüyorum
Collecting PyAudio
Using cached PyAudio-0.2.11.tar.gz (37 kB)
Building wheels for collected packages: PyAudio
Building wheel for PyAudio (setup.py): started
Building wheel for PyAudio (setup.py): finished with status 'error'
Running setup.py clean for PyAudio
Failed to build PyAudio
Installing collected packages: PyAudio
Running setup.py install for PyAudio: started
Running setup.py install for PyAudio: finished with status 'error'

ERROR: Command errored out with exit status 1:
command: 'C:\Users\admin\PycharmProjects\pythonProject2\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-iwndt003\\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\\setup.py'"'"'; __file__='"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-iwndt003\\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\admin\AppData\Local\Temp\pip-wheel-s4haw_rt'
cwd: C:\Users\admin\AppData\Local\Temp\pip-install-iwndt003\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\
Complete output (11 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying src\pyaudio.py -> build\lib.win-amd64-3.9
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for PyAudio
ERROR: Command errored out with exit status 1:
command: 'C:\Users\admin\PycharmProjects\pythonProject2\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-iwndt003\\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\\setup.py'"'"'; __file__='"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-iwndt003\\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\admin\AppData\Local\Temp\pip-record-z9qd69yh\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\admin\PycharmProjects\pythonProject2\venv\include\site\python3.9\PyAudio'
cwd: C:\Users\admin\AppData\Local\Temp\pip-install-iwndt003\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\
Complete output (11 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying src\pyaudio.py -> build\lib.win-amd64-3.9
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\admin\PycharmProjects\pythonProject2\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-iwndt003\\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\\setup.py'"'"'; __file__='"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-iwndt003\\pyaudio_1e4a22cf769a4b1eb690514deb9d1275\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\admin\AppData\Local\Temp\pip-record-z9qd69yh\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\admin\PycharmProjects\pythonProject2\venv\include\site\python3.9\PyAudio' Check the logs for full command output.
WARNING: You are using pip version 21.1.2; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\admin\PycharmProjects\pythonProject2\venv\Scripts\python.exe -m pip install --upgrade pip' command.
Pycharm son sürüm kullanıyorum
 
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Visual Studio c++ 14.0 ve üzerindeki bir sürümü istiyor. Visual Studio paketlerinizin sürümlerini yükselt öyle dene bir de
 
Geri
Top