pyaudio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

pyaudio

well i was trying to install pyaudio in pycharm i tried to install it from a site from where i manualy installed its wheel file , then also it did not work but still then i tried to install it from pycharm directly where it gave me the errror Collecting PyAudio Using cached PyAudio-0.2.11.tar.gz (37 kB) Using legacy 'setup.py install' for PyAudio, since package 'wheel' is not installed. Installing collected packages: PyAudio Running setup.py install for PyAudio: started Running setup.py install for PyAudio: finished with status 'error' DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333. ERROR: Command errored out with exit status 1: command: 'D:\pythonProject\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\SATYAJ~1\\AppData\\Local\\Temp\\pycharm-packaging\\pyaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\SATYAJ~1\\AppData\\Local\\Temp\\pycharm-packaging\\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\Satyajith Panicker\AppData\Local\Temp\pip-record-5eont35b\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\pythonProject\venv\include\site\python3.8\PyAudio' cwd: C:\Users\SATYAJ~1\AppData\Local\Temp\pycharm-packaging\pyaudio\ Complete output (11 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 warning: build_py: byte-compiling is disabled, skipping. running build_ext building '_portaudio' extension error: M

24th Aug 2020, 3:21 PM
Satyajith Panicker
Satyajith Panicker - avatar
1 Answer
0
Check if your python and wheels are in your system path
25th Aug 2020, 7:52 PM
Jan Vlasman