nihal111 / J.A.R.V.I.S

A personal assistant with simple, rudimentary AI
320 stars 213 forks source link

Running setup.py install for pyalsaaudio ..error ERROR... #26

Open prashantsingh2408 opened 4 years ago

prashantsingh2408 commented 4 years ago

while pip install -r requirement.txt

Running setup.py install for pyalsaaudio ..er-ror
    ERROR: Command errored out with exit status 1:     command: 'c:\users\prashant\appdata\local\programs\python\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\prashant\\AppData\\Local\\Temp\\pip-install-w5mbao95\\pyalsaaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\prashant\\AppData\\Local\\Temp\\pip-install-w5mbao95\\pyalsaaudio\\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\prashant\AppData\Local\Temp\pip-record-04rixyt6\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\prashant\appdata\local\programs\python\python36\Include\pyalsaaudio'
         cwd: C:\Users\prashant\AppData\Local\Temp\pip-install-w5mbao95\pyalsaaudio\
    Complete output (11 lines):
    running install
    running build
    running build_ext
    building 'alsaaudio' extension
    creating build
    creating build\temp.win-amd64-3.6
    creating build\temp.win-amd64-3.6\Release     
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\prashant\appdata\local\programs\python\python36\include -Ic:\users\prashant\appdata\local\programs\python\python36\include 
"-IC:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program 
Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" 
"-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcalsaaudio.c /Fobuild\temp.win-amd64-3.6\Release\alsaaudio.obj
    alsaaudio.c
    alsaaudio.c(28): fatal error C1083: Cannot open include file: 'alsa/asoundlib.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
    ----------------------------------------      
ERROR: Command errored out with exit status 1: 'c:\users\prashant\appdata\local\programs\python\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\prashant\\AppData\\Local\\Temp\\pip-install-w5mbao95\\pyalsaaudio\\setup.py'"'"'; __file__='"'"'C:\\Users\\prashant\\AppData\\Local\\Temp\\pip-install-w5mbao95\\pyalsaaudio\\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\prashant\AppData\Local\Temp\pip-record-04rixyt6\install-record.txt' --single-version-externally-managed --compile --install-headers 
'c:\users\prashant\appdata\local\programs\python\python36\Include\pyalsaaudio' Check the logs for full command output.
ShubhamMehta99 commented 4 years ago

Getting the same issue with pyaudio and pyalsaaudio in mac with PyCharm ide.

Siddhu-cmd commented 3 years ago

if you are getting that error just go to https://www.lfd.uci.edu/~gohlke/pythonlibs/ and search for by pressing ctr + f and search which module you want then just download it and give a command on cmd to install it

Error104114 commented 3 years ago

pip3 install pyalsaaudio works for me...