how to fix pyaudio installation problem windows 11 - python

C:\Users\HP\Downloads>pip install pyaudio
Collecting pyaudio
Using cached PyAudio-0.2.11.tar.gz (37 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for pyaudio, since package 'wheel' is not installed.
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
error: subprocess-exited-with-error
× Running setup.py install for pyaudio did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
copying src\pyaudio.py -> build\lib.win-amd64-3.10
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -IC:\Users\HP\AppData\Local\Programs\Python\Python310\include -IC:\Users\HP\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.10\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Users\HP\AppData\Local\Programs\Python\Python310\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
C:\Users\HP\AppData\Local\Programs\Python\Python310\include\pyconfig.h(117): note: 'MS_WIN64' previously declared on the command line
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

Related

when building python Django project it exiting with an error

i am getting below error when building the project. I have installed pymssql using pip -m install pymssql and visual studio installer as well.
tree = Parsing.p_module(s, pxd, full_module_name)
building '_mssql' extension
creating build
creating build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release
creating build\temp.win-amd64-cpython-39\Release\src
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\anallamilli\AppData\Local\Temp\pip-install-_ebszunz\pymssql_8c3eaa8f4e074feda79e1cd9e7617f9e\freetds\vs2015_64\include -IC:\Users\anallamilli\AppData\Local\Temp\pip-install-_ebszunz\pymssql_8c3eaa8f4e074feda79e1cd9e7617f9e\build\include "-Ic:\users\anallamilli\onedrive - fireangel\desktop\local build\admin_v2_pipeline\comp_admin_system\env1\include" -IC:\Users\anallamilli\AppData\Local\Programs\Python\Python39\include -IC:\Users\anallamilli\AppData\Local\Programs\Python\Python39\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /Tcsrc\_mssql.c /Fobuild\temp.win-amd64-cpython-39\Release\src\_mssql.obj -DMSDBLIB
_mssql.c
src\_mssql.c(699): fatal error C1083: Cannot open include file: 'sqlfront.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: No metadata found in c:\users\anallamilli\onedrive - fireangel\desktop\local build\admin_v2_pipeline\comp_admin_system\env1\lib\site-packages
Rolling back uninstall of pymssql
Moving to c:\users\anallamilli\onedrive - fireangel\desktop\local build\admin_v2_pipeline\comp_admin_system\env1\lib\site-packages\pymssql-2.2.5.dist-info
from C:\Users\anallamilli\OneDrive - FireAngel\Desktop\Local build\Admin_V2_Pipeline\COMP_Admin_System\env1\Lib\site-packages~ymssql-2.2.5.dist-info
Moving to c:\users\anallamilli\onedrive - fireangel\desktop\local build\admin_v2_pipeline\comp_admin_system\env1\lib\site-packages\pymssql
from C:\Users\anallamilli\OneDrive - FireAngel\Desktop\Local build\Admin_V2_Pipeline\COMP_Admin_System\env1\Lib\site-packages~ymssql
error: legacy-install-failure
Encountered error while trying to install package.
pymssql
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure."

pip can't build pyaudio wheel on Windows 64-bit

I'm trying to do
pip install Pyaudio
but I get this error:
Building wheels for collected packages: pyaudio
Building wheel for pyaudio (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
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
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.9\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
src/_portaudiomodule.c: note: see previous definition of 'MS_WIN64'
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.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
Running setup.py clean for pyaudio
Failed to build pyaudio
Installing collected packages: pyaudio
Running setup.py install for pyaudio ... error
error: subprocess-exited-with-error
× Running setup.py install for pyaudio did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
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
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include -IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt /Tcsrc/_portaudiomodule.c /Fobuild\temp.win-amd64-3.9\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
src/_portaudiomodule.c: note: see previous definition of 'MS_WIN64'
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.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: legacy-install-failure
× Encountered error while trying to install package.
╰─> pyaudio
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: There was an error checking the latest version of pip
I have installed VS build tools.
It seems like the Python version you're using is not compatible with the pyAudio.
Please refer to the docs here.

Installing qdldl for Python creates a Cmake CMakeLists.txt 4 error

I've been trying to install qdldl in a virtual machine.
It seemed like the issue was because I did not have the correct version of Visual Studio, but I've downloaded multiple versions of it now and it fails on all of them. I've also downloaded the Visual Studio Build Tools and tried versions 2015 to 2022.
I downloaded CMake as well. I'm getting the following error:
Collecting qdldl
Using cached qdldl-0.1.5.post2.tar.gz (69 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.7 in c:\users\kaik\documents\studyduck\studyducknew\backend\python-envs\senv\lib\site-packages (from qdldl) (1.22.4)
Requirement already satisfied: scipy>=0.13.2 in c:\users\kaik\documents\studyduck\studyducknew\backend\python-envs\senv\lib\site-packages (from qdldl) (1.8.1)
Building wheels for collected packages: qdldl
Building wheel for qdldl (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
running bdist_wheel
running build
running build_ext
CMake Error at CMakeLists.txt:4 (project):
Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/Kaik/AppData/Local/Temp/pip-install-u4o43rtd/qdldl_2d10c3a1f1e34da88439806f5a0e900a/c/build/CMakeFiles/CMakeOutput.log".
CMake Error:
Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
building 'qdldl' extension
creating build
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\cpp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic -Ic\qdldl\include -IC:\Users\Kaik\Documents\studyduck\StudyDuckNew\backend\python-envs\senv\lib\site-packages\pybind11\include
-IC:\Users\Kaik\Documents\studyduck\StudyDuckNew\backend\python-envs\senv\lib\site-packages\pybind11\include -IC:\Users\Kaik\Documents\studyduck\StudyDuckNew\backend\python-envs\senv\include -IC:\Users\Kaik\AppData\Local\Programs\Python\Python38-32\include -IC:\Users\Kaik\AppData\Local\Programs\Python\Python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tpcpp\qdldl.cpp /Fobuild\temp.win32-3.8\Release\cpp\qdldl.obj -std=c++11
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
qdldl.cpp
c\qdldl/include/qdldl.h(5): fatal error C1083: Cannot open include file: 'qdldl_types.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for qdldl
Running setup.py clean for qdldl
Failed to build qdldl
Installing collected packages: qdldl
Running setup.py install for qdldl ... error
error: subprocess-exited-with-error
× Running setup.py install for qdldl did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
running install
running build
running build_ext
CMake Error at CMakeLists.txt:4 (project):
Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/Kaik/AppData/Local/Temp/pip-install-u4o43rtd/qdldl_2d10c3a1f1e34da88439806f5a0e900a/c/build/CMakeFiles/CMakeOutput.log".
CMake Error:
Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
building 'qdldl' extension
creating build
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\cpp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic -Ic\qdldl\include -IC:\Users\Kaik\Documents\studyduck\StudyDuckNew\backend\python-envs\senv\lib\site-packages\pybind11\include
-IC:\Users\Kaik\Documents\studyduck\StudyDuckNew\backend\python-envs\senv\lib\site-packages\pybind11\include -IC:\Users\Kaik\Documents\studyduck\StudyDuckNew\backend\python-envs\senv\include -IC:\Users\Kaik\AppData\Local\Programs\Python\Python38-32\include -IC:\Users\Kaik\AppData\Local\Programs\Python\Python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tpcpp\qdldl.cpp /Fobuild\temp.win32-3.8\Release\cpp\qdldl.obj -std=c++11
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
qdldl.cpp
c\qdldl/include/qdldl.h(5): fatal error C1083: Cannot open include file: 'qdldl_types.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> qdldl
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Also note: here is the CMakeLists.txt file:
# To ensure maximum portability across various compilers and platforms
# deactivate any compiler extensions
set(CMAKE_CXX_EXTENSIONS FALSE)
# source files for CMake std library
set(SRCS cm/bits/fs_path.cxx
cm/bits/string_view.cxx
cm/filesystem
cm/memory
cm/optional
cm/shared_mutex
cm/string_view
cm/utility
cmext/string_view)
add_library(cmstd STATIC ${SRCS})

how to install causalml packages

windows 10
IDE:Spyder
Python 3.7.9
I failed to install this package and the error in cmd is shown as follow:
python setup.py install running install running bdist_egg running
egg_info writing causalml.egg-info\PKG-INFO writing dependency_links
to causalml.egg-info\dependency_links.txt writing requirements to
causalml.egg-info\requires.txt writing top-level names to
causalml.egg-info\top_level.txt reading manifest file
'causalml.egg-info\SOURCES.txt' reading manifest template
'MANIFEST.in' warning: no files found matching '.pxd' under directory
'causalml' warning: no files found matching '.h' under directory
'causalml' adding license file 'LICENSE' writing manifest file
'causalml.egg-info\SOURCES.txt' installing library code to
build\bdist.win-amd64\egg running install_lib running build_py running
build_ext building 'causalml.inference.tree.causaltree' extension
C:\Program Files (x86)\Microsoft Visual
Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe
/c /nologo /Ox /W3 /GL /DNDEBUG /MD
-IC:\Users\absence\AppData\Local\Programs\Spyder\pkgs\numpy\core\include
-IC:\Users\absence\AppData\Local\Programs\Spyder\pkgs\numpy\core\include
-IC:\Users\absence\AppData\Local\Programs\Spyder\Python\include -IC:\Users\absence\AppData\Local\Programs\Spyder\Python\include "-IC:\Program Files (x86)\Microsoft Visual
Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt"
"-IC:\Program Files (x86)\Windows
Kits\10\include\10.0.19041.0\cppwinrt"
/Tccausalml/inference/tree/causaltree.c
/Fobuild\temp.win-amd64-3.7\Release\causalml/inference/tree/causaltree.obj
-O3 causaltree.c causalml/inference/tree/causaltree.c(31): fatal error C1083: “Python.h”: No such file or directory error: command
'C:\Program Files (x86)\Microsoft Visual
Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe'
failed with exit status 2
May I ask a help for how to solve it?

Building glpk error: Could not build wheels for glpk which use PEP 517 and cannot be installed directly

when trying to install glpk I get the following error. I've tried many things to solve it but I don't get to find a solution
Collecting glpk
Using cached glpk-0.4.5.tar.gz (152 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: glpk
Building wheel for glpk (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ruizm\appdata\local\programs\python\python38-32\python.exe' 'c:\users\ruizm\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\ruizm\AppData\Local\Temp\tmpk6uqubal'
cwd: C:\Users\ruizm\AppData\Local\Temp\pip-install-k_surgky\glpk
Complete output (12 lines):
running bdist_wheel
running build
running build_ext
building 'glpk' extension
creating build
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.25.28610\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DVERSION_NUMBER="0.4.5" -Ic:\users\ruizm\appdata\local\programs\python\python38-32\include -Ic:\users\ruizm\appdata\local\programs\python\python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.25.28610\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc\glpk.c /Fobuild\temp.win32-3.8\Release\src\glpk.obj
glpk.c
C:\Users\ruizm\AppData\Local\Temp\pip-install-k_surgky\glpk\src\lp.h(24): fatal error C1083: No se puede abrir el archivo incluir: 'glpk.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for glpk
Failed to build glpk
ERROR: Could not build wheels for glpk which use PEP 517 and cannot be installed directly

Categories