PyAudio modulunu indiremiyorum

PyAudio modulunu inidrirken bir error alıyorum hata aşağıda yardımcı olusanız sevinirim

 ERROR: Command errored out with exit status 1:
     command: 'C:\Users\toshiba\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\toshiba\\AppData\\Local\\Temp\\pip-install-13tyhad9\\pyaudio_1e211d9d55254cdab9729fd798aa58b9\\setup.py'"'"'; __file__='"'"'C:\\Users\\toshiba\\AppData\\Local\\Temp\\pip-install-13tyhad9\\pyaudio_1e211d9d55254cdab9729fd798aa58b9\\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\toshiba\AppData\Local\Temp\pip-record-pxgxw8f1\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\toshiba\AppData\Local\Programs\Python\Python310\Include\PyAudio'
         cwd: C:\Users\toshiba\AppData\Local\Temp\pip-install-13tyhad9\pyaudio_1e211d9d55254cdab9729fd798aa58b9\
    Complete output (9 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.10
    copying src\pyaudio.py -> build\lib.win32-3.10
    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\toshiba\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\toshiba\\AppData\\Local\\Temp\\pip-install-13tyhad9\\pyaudio_1e211d9d55254cdab9729fd798aa58b9\\setup.py'"'"'; __file__='"'"'C:\\Users\\toshiba\\AppData\\Local\\Temp\\pip-install-13tyhad9\\pyaudio_1e211d9d55254cdab9729fd798aa58b9\\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\toshiba\AppData\Local\Temp\pip-record-pxgxw8f1\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\toshiba\AppData\Local\Programs\Python\Python310\Include\PyAudio' Check the logs for full command output.

pip install PyAudio yazarken mi alıyorsunuz bu hatayı

“error” satirini dikkate alabilirsin.

Forumda da ayni konudan cokca var, onlara da bakmak isteyebilirsin.

3 Beğeni

Bende aynısını yaşıyorum. Bu bağlantıdaki cevaplar işe yarar. PİPWİN üzerinden indirebilirsiniz…

1 Beğeni

projene import os dene ve eğer pycharm kullanıyorsan proje başlatırken
alttaki iki tik işaretini aktif hale getirin

1 Beğeni