Open
Description
I get the following error when trying to install qdldl on Windows 10 (Python 3.10.2):
PS C:\Users\user> pip install qdldl
Collecting qdldl
Using cached qdldl-0.1.5.post0.tar.gz (69 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.7 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from qdldl) (1.22.1)
Requirement already satisfied: scipy>=0.13.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from qdldl) (1.7.3)
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
╰─> [52 lines of output]
running bdist_wheel
running build
running build_ext
-- Selecting Windows SDK version to target Windows 10.0.19043.
CMake Error at CMakeLists.txt:4 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 31/01/2022 10:53:56.
Project "C:\Users\user\AppData\Local\Temp\pip-install-c17wh9nq\qdldl_e61c73a0a0a546d1b29e8c207a057446\c\build\CMakeFiles\3.22.2\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(436,5): error MSB8020: The build tools for Visual Studio 2015 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install Visual Studio 2015 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\user\AppData\Local\Temp\pip-install-c17wh9nq\qdldl_e61c73a0a0a546d1b29e8c207a057446\c\build\CMakeFiles\3.22.2\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\user\AppData\Local\Temp\pip-install-c17wh9nq\qdldl_e61c73a0a0a546d1b29e8c207a057446\c\build\CMakeFiles\3.22.2\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\user\AppData\Local\Temp\pip-install-c17wh9nq\qdldl_e61c73a0a0a546d1b29e8c207a057446\c\build\CMakeFiles\3.22.2\VCTargetsPath.vcxproj" (default target) (1) ->
(PrepareForBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(436,5): error MSB8020: The build tools for Visual Studio 2015 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install Visual Studio 2015 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\user\AppData\Local\Temp\pip-install-c17wh9nq\qdldl_e61c73a0a0a546d1b29e8c207a057446\c\build\CMakeFiles\3.22.2\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.66
Exit code: 1
-- Configuring incomplete, errors occurred!
It seems the process looks for Visual Studio 2015 build tools. Is it really necessary to downgrade to Visual Studio 2015 to build qdldl?
Metadata
Metadata
Assignees
Labels
No labels