Closed hehedaozuiteng closed 2 years ago
does your error look like the error I'm getting? C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic -Ic\qdldl\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\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 /EHsc /Tpcpp\qdldl.cpp /Fobuild\temp.win-amd64-3.10\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\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
does your error look like the error I'm getting? C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic -Ic\qdldl\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\include -IC:\Users\brian\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\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 /EHsc /Tpcpp\qdldl.cpp /Fobuild\temp.win-amd64-3.10\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\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
yes
I went to this site : https://www.lfd.uci.edu/~gohlke/pythonlibs/#Qdldl Downloaded the wheel that matched my OS & Python and used that to successfully install qdldl. Once that package was successfully installed, the cvxpy package went right in.
once run the code
pip install cvxpy
get the error, the error note is too mess so do not display them.
Noticed that, with a python 3.9 environment can successful instll, but python 3.10 cannot