Been trying to run pysilon on github to test out its capabilities on my machine and come across this error:
× Building wheel for pyaudio (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
WARNING:root:Warning: VCPKG_PATH envrionment variable not set.
INFO:root:running bdist_wheel
INFO:root:running build
INFO:root:running build_py
INFO:root:creating build
INFO:root:creating buildlib.win-amd64-cpython-37
INFO:root:creating buildlib.win-amd64-cpython-37pyaudio
INFO:root:copying srcpyaudio_init_.py -> buildlib.win-amd64-cpython-37pyaudio
INFO:root:running build_ext
INFO:root:building ‘pyaudio._portaudio’ extension
INFO:root:creating buildtemp.win-amd64-cpython-37
INFO:root:creating buildtemp.win-amd64-cpython-37Release
INFO:root:creating buildtemp.win-amd64-cpython-37Releasesrc
INFO:root:creating buildtemp.win-amd64-cpython-37Releasesrcpyaudio
INFO:root:”C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.40.33807binHostX86x64cl.exe” /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 “-Ic:usersandrew & mindy chippdownloadspysilon-malware-3.7-fix1pysilon-malware-3.7-fix1pysiloninclude” “-IC:UsersAndrew & Mindy ChippAppDataLocalProgramsPythonPython37include” “-IC:UsersAndrew & Mindy ChippAppDataLocalProgramsPythonPython37Include” “-IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.40.33807include” “-IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCAuxiliaryVSinclude” “-IC:Program Files (x86)Windows Kits10include10.0.22621.0ucrt” “-IC:Program Files (x86)Windows Kits10include10.0.22621.0um” “-IC:Program Files (x86)Windows Kits10include10.0.22621.0shared” “-IC:Program Files (x86)Windows Kits10include10.0.22621.0winrt” “-IC:Program Files (x86)Windows Kits10include10.0.22621.0cppwinrt” /Tcsrc/pyaudio/device_api.c /Fobuildtemp.win-amd64-cpython-37Releasesrc/pyaudio/device_api.obj /MT
cl : Command line warning D9025 : overriding ‘/MD’ with ‘/MT’
device_api.c
C:UsersAndrew & Mindy ChippAppDataLocalProgramsPythonPython37includepyconfig.h(117): warning C4005: ‘MS_WIN64’: macro redefinition
C:UsersAndrew & Mindy ChippAppDataLocalProgramsPythonPython37includepyconfig.h(117): note: ‘MS_WIN64’ previously declared on the command line
src/pyaudio/device_api.c(9): fatal error C1083: Cannot open include file: ‘portaudio.h’: No such file or directory
error: command ‘C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.40.33807binHostX86x64cl.exe’ failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyaudio
Failed to build pyaudio
ERROR: Could not build wheels for pyaudio, which is required to install pyproject.toml-based projects
When trying to compile the exe. Anyone know a solution or any suggestions towards fixing it? I’ve reinstalled visual studio, python, tried installing pyaudio which spits the same exact error out. Please help! Any suggestions would be greatly appreciated! I expected an exe to be built
Olivefilms is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.