Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to install by using python 3.12.2 and pip #323

Closed
kkzhang3 opened this issue Jun 4, 2024 · 4 comments
Closed

Fail to install by using python 3.12.2 and pip #323

kkzhang3 opened this issue Jun 4, 2024 · 4 comments

Comments

@kkzhang3
Copy link

kkzhang3 commented Jun 4, 2024

Excuse me. When I try to install the proxsuie by using pip, I get the following error.
image

Then I download the proxsuite-0.6.4.tar.gz from release, another error happened as follow:

D:>python -m pip install proxsuite-0.6.4.tar.gz
Processing d:\proxsuite-0.6.4.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [284 lines of output]
-- Building for: Visual Studio 17 2022
-- Configuring "proxsuite" (http://github.com/Simple-Robotics/proxsuite)
-- Package version (ROS package.xml): 0.6.4
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The CXX compiler identification is MSVC 19.38.33133.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Performing Test res_-D_SCL_SECURE_NO_WARNINGS
-- Performing Test res_-D_SCL_SECURE_NO_WARNINGS - Success
-- Performing Test res_-D_CRT_SECURE_NO_WARNINGS
-- Performing Test res_-D_CRT_SECURE_NO_WARNINGS - Success
-- Performing Test res_-D_CRT_SECURE_NO_DEPRECATE
-- Performing Test res_-D_CRT_SECURE_NO_DEPRECATE - Success
-- Performing Test res_/wd4101
-- Performing Test res_/wd4101 - Success
-- Performing Test res_/wd4250
-- Performing Test res_/wd4250 - Success
-- Performing Test res_/wd4251
-- Performing Test res_/wd4251 - Success
-- Performing Test res_/wd4275
-- Performing Test res_/wd4275 - Success
-- Performing Test res_/wd4355
-- Performing Test res_/wd4355 - Success
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- [Proxsuite] Using C++ standard: 17
-- Found Simde: C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.43.0.windows.1")
-- Found Python3: D:\TaijiControl\python312\python.exe (found version "3.12.2") found components: Interpreter Development Development.Module Development.Embed
-- PythonLibraryDirs: D:/TaijiControl/Python312/libs
-- PythonLibVersionString: 3.12.2
-- Python site lib: lib/python3.12/site-packages
-- Python include dirs: D:/TaijiControl/python312/Include
CMake Deprecation Warning at bindings/python/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.


  -- pybind11 v2.11.0 dev1
  -- Performing Test HAS_MSVC_GL_LTCG
  -- Performing Test HAS_MSVC_GL_LTCG - Success
  -- Configuring done (11.3s)
  -- Generating done (0.2s)
  CMake Warning:
    Manually-specified variables were not used by the project:

      Boost_NO_WARN_NEW_VERSIONS
      CMAKE_APPLE_SILICON_PROCESSOR
      CMEEL_JOBS


  -- Build files have been written to: C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld
  适用于 .NET Framework MSBuild 版本 17.8.3+195e7f5a3

  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\ZERO_CHECK.vcxproj]
    1>Checking Build System
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx2.vcxproj]
    Building Custom Rule C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/CMakeLists.txt
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\instructionset.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\compile_pyc_C__Users_KK_AppData_Local_Temp_pip-req-build-fgya_fvu_bindings_python.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap.vcxproj]
    Building Custom Rule C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/CMakeLists.txt
    Building Custom Rule C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/CMakeLists.txt
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx512.vcxproj]
    用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.38.33133 版
    版权所有(C) Microsoft Corporation。保留所有权利。
    cl /c /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld" /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\include" /I"C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include" /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _WINDLL /D _MBCS /D _SCL_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE /D WIN32 /D _WINDOWS /D PYTHON_MODULE_NAME=proxsuite_pywrap_avx2 /D NOMINMAX /D PROXSUITE_VECTORIZE /D "CMAKE_INTDIR=\"Debug\"" /D proxsuite_pywrap_avx2_EXPORTS /Gm- /EHsc /RTC1 /MDd /GS /arch:AVX2 /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /permissive- /Fo"proxsuite_pywrap_avx2.dir\Debug\\" /Fd"proxsuite_pywrap_avx2.dir\Debug\vc143.pdb" /external:W0 /Gd /TP /wd4101 /wd4250 /wd4251 /wd4275 /wd4355 /errorReport:queue  /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/external/cereal/include" /external:I "D:/TaijiControl/python312/Include" /external:I "C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include/eigen3" /external:I "C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include" /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/external/pybind11/include" /fp:fast, /bigobj "C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp"
  cl : 命令行  warning D9002: 忽略未知选项“/fp:fast,” [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx2.vcxproj]
    expose-all.cpp
    Building Custom Rule C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/CMakeLists.txt
    用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.38.33133 版
    版权所有(C) Microsoft Corporation。保留所有权利。
    cl /c /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld" /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\include" /I"C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include" /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _WINDLL /D _MBCS /D _SCL_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE /D WIN32 /D _WINDOWS /D PYTHON_MODULE_NAME=proxsuite_pywrap /D NOMINMAX /D "CMAKE_INTDIR=\"Debug\"" /D proxsuite_pywrap_EXPORTS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /permissive- /Fo"proxsuite_pywrap.dir\Debug\\" /Fd"proxsuite_pywrap.dir\Debug\vc143.pdb" /external:W0 /Gd /TP /wd4101 /wd4250 /wd4251 /wd4275 /wd4355 /errorReport:queue  /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/external/cereal/include" /external:I "D:/TaijiControl/python312/Include" /external:I "C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include/eigen3" /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/external/pybind11/include" /bigobj "C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp"
    用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.38.33133 版
    版权所有(C) Microsoft Corporation。保留所有权利。
    expose-all.cpp
    用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.38.33133 版
    版权所有(C) Microsoft Corporation。保留所有权利。
    cl /c /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld" /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\include" /I"C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include" /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _WINDLL /D _MBCS /D _SCL_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE /D WIN32 /D _WINDOWS /D NOMINMAX /D "CMAKE_INTDIR=\"Debug\"" /D instructionset_EXPORTS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /permissive- /Fo"instructionset.dir\Debug\\" /Fd"instructionset.dir\Debug\vc143.pdb" /external:W0 /Gd /TP /wd4101 /wd4250 /wd4251 /wd4275 /wd4355 /errorReport:queue  /external:I "D:/TaijiControl/python312/Include" /external:I "C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include/eigen3" /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/external/pybind11/include" /bigobj "C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\helpers\instruction-set.cpp"
    instruction-set.cpp
    cl /c /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld" /I"C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\include" /I"C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include" /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _WINDLL /D _MBCS /D _SCL_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE /D WIN32 /D _WINDOWS /D PYTHON_MODULE_NAME=proxsuite_pywrap_avx512 /D NOMINMAX /D PROXSUITE_VECTORIZE /D "CMAKE_INTDIR=\"Debug\"" /D proxsuite_pywrap_avx512_EXPORTS /Gm- /EHsc /RTC1 /MDd /GS /arch:AVX512 /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /permissive- /Fo"proxsuite_pywrap_avx512.dir\Debug\\" /Fd"proxsuite_pywrap_avx512.dir\Debug\vc143.pdb" /external:W0 /Gd /TP /wd4101 /wd4250 /wd4251 /wd4275 /wd4355 /errorReport:queue  /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/external/cereal/include" /external:I "D:/TaijiControl/python312/Include" /external:I "C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include/eigen3" /external:I "C:/Users/KK/AppData/Local/Temp/pip-build-env-2yi0uhbi/overlay/Lib/site-packages/cmeel.prefix/include" /external:I "C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/external/pybind11/include" /fp:fast, /bigobj "C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp"
  cl : 命令行  warning D9002: 忽略未知选项“/fp:fast,” [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx512.vcxproj]
    expose-all.cpp
    Building Custom Rule C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/bindings/python/CMakeLists.txt
      正在创建库 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/instructionset.lib 和对象 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/instructionset.exp
  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\dense\ldlt.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx2.vcxproj]
  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\dense\ldlt.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap.vcxproj]
    (编译源文件“../../../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)

    (编译源文件“../../../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)

  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\dense\ldlt.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx512.vcxproj]
    (编译源文件“../../../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)

    instructionset.vcxproj -> C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite\instructionset.pyd
  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\dense\linesearch.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap.vcxproj]
    (编译源文件“../../../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)

  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\dense\linesearch.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx2.vcxproj]
    (编译源文件“../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)

  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\dense\linesearch.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx512.vcxproj]
    (编译源文件“../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)

  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(395,36): warning C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap.vcxproj]
    (编译源文件“../../../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)
    C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(395,36):
    模板实例化上下文(最早的实例化上下文)为
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp(99,3):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::python::exposeSparseAlgorithms<proxsuite::proxqp::f64,int32_t>(pybind11::module_)”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp(35,19):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::python::exposeQpObjectSparse<proxsuite::proxqp::f64,int32_t>(pybind11::module_)”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-qpobject.hpp(296,39):
      查看对正在编译的 类 模板 实例化“pybind11::class_<proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>>”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\external\pybind11\include\pybind11\pybind11.h(1516,1):
      查看对正在编译的 类 模板 实例化“std::is_polymorphic<proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>>”的引用
      C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\type_traits(658,1):
      查看对正在编译的 类 模板 实例化“proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\wrapper.hpp(652,8):
      在编译 类 模板 成员函数“void proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>::solve(tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>,tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>,tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>)”时
              C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-qpobject.hpp(380,9):
              请参阅 "proxsuite::proxqp::sparse::python::exposeQpObjectSparse" 中对 "proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>::solve" 的第一个引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\wrapper.hpp(657,5):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::qp_solve<proxsuite::proxqp::f64,int32_t,proxsuite::proxqp::sparse::preconditioner::RuizEquilibration<T,I>>(proxsuite::proxqp::Results<T> &,proxsuite::proxqp::sparse::Model<T,I> &,const proxsuite::proxqp::Settings<T> &,proxsuite::proxqp::sparse::Workspace<T,I> &,P &)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t,
                P=proxsuite::proxqp::sparse::preconditioner::RuizEquilibration<proxsuite::proxqp::f64,int32_t>
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\solver.hpp(688,11):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::refactorize<proxsuite::proxqp::f64,int32_t>(proxsuite::proxqp::sparse::Workspace<T,I> &,const proxsuite::proxqp::Results<T> &,const proxsuite::proxqp::Settings<T> &,proxsuite::linalg::sparse::MatMut<T,I>,proxsuite::linalg::veg::SliceMut<bool>,const proxsuite::proxqp::sparse::Model<T,I> &,proxsuite::linalg::veg::dynstack::DynStackMut,proxsuite::linalg::veg::tags::Tag<T> &)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\workspace.hpp(83,32):
      查看对正在编译的函数 模板 实例化“void proxsuite::linalg::sparse::factorize_numeric<T,int>(T *,I *,const T *,const int *,const I *,const I *,const I *,proxsuite::linalg::sparse::MatRef<T,I>,proxsuite::linalg::veg::dynstack::DynStackMut) noexcept(false)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(1235,34):
      查看对正在编译的函数 模板 实例化“I *proxsuite::linalg::sparse::_detail::ereach<T>(proxsuite::linalg::veg::usize &,I *,proxsuite::linalg::sparse::SymbolicMatRef<I>,const I *,proxsuite::linalg::veg::isize,bool *) noexcept”的引用
            with
            [
                I=int32_t,
                T=int32_t
            ]

  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(395,36): warning C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx2.vcxproj]
    (编译源文件“../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)
    C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(395,36):
    模板实例化上下文(最早的实例化上下文)为
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp(99,3):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::python::exposeSparseAlgorithms<proxsuite::proxqp::f64,int32_t>(pybind11::module_)”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp(35,19):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::python::exposeQpObjectSparse<proxsuite::proxqp::f64,int32_t>(pybind11::module_)”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-qpobject.hpp(296,39):
      查看对正在编译的 类 模板 实例化“pybind11::class_<proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>>”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\external\pybind11\include\pybind11\pybind11.h(1516,1):
      查看对正在编译的 类 模板 实例化“std::is_polymorphic<proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>>”的引用
      C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\type_traits(658,1):
      查看对正在编译的 类 模板 实例化“proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\wrapper.hpp(652,8):
      在编译 类 模板 成员函数“void proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>::solve(tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>,tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>,tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>)”时
              C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-qpobject.hpp(380,9):
              请参阅 "proxsuite::proxqp::sparse::python::exposeQpObjectSparse" 中对 "proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>::solve" 的第一个引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\wrapper.hpp(657,5):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::qp_solve<proxsuite::proxqp::f64,int32_t,proxsuite::proxqp::sparse::preconditioner::RuizEquilibration<T,I>>(proxsuite::proxqp::Results<T> &,proxsuite::proxqp::sparse::Model<T,I> &,const proxsuite::proxqp::Settings<T> &,proxsuite::proxqp::sparse::Workspace<T,I> &,P &)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t,
                P=proxsuite::proxqp::sparse::preconditioner::RuizEquilibration<proxsuite::proxqp::f64,int32_t>
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\solver.hpp(688,11):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::refactorize<proxsuite::proxqp::f64,int32_t>(proxsuite::proxqp::sparse::Workspace<T,I> &,const proxsuite::proxqp::Results<T> &,const proxsuite::proxqp::Settings<T> &,proxsuite::linalg::sparse::MatMut<T,I>,proxsuite::linalg::veg::SliceMut<bool>,const proxsuite::proxqp::sparse::Model<T,I> &,proxsuite::linalg::veg::dynstack::DynStackMut,proxsuite::linalg::veg::tags::Tag<T> &)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\workspace.hpp(83,32):
      查看对正在编译的函数 模板 实例化“void proxsuite::linalg::sparse::factorize_numeric<T,int>(T *,I *,const T *,const int *,const I *,const I *,const I *,proxsuite::linalg::sparse::MatRef<T,I>,proxsuite::linalg::veg::dynstack::DynStackMut) noexcept(false)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(1235,34):
      查看对正在编译的函数 模板 实例化“I *proxsuite::linalg::sparse::_detail::ereach<T>(proxsuite::linalg::veg::usize &,I *,proxsuite::linalg::sparse::SymbolicMatRef<I>,const I *,proxsuite::linalg::veg::isize,bool *) noexcept”的引用
            with
            [
                I=int32_t,
                T=int32_t
            ]

  C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(395,36): warning C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite_pywrap_avx512.vcxproj]
    (编译源文件“../../pip-req-build-fgya_fvu/bindings/python/src/expose-all.cpp”)
    C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(395,36):
    模板实例化上下文(最早的实例化上下文)为
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp(99,3):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::python::exposeSparseAlgorithms<proxsuite::proxqp::f64,int32_t>(pybind11::module_)”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-all.cpp(35,19):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::python::exposeQpObjectSparse<proxsuite::proxqp::f64,int32_t>(pybind11::module_)”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-qpobject.hpp(296,39):
      查看对正在编译的 类 模板 实例化“pybind11::class_<proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>>”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\external\pybind11\include\pybind11\pybind11.h(1516,1):
      查看对正在编译的 类 模板 实例化“std::is_polymorphic<proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>>”的引用
      C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\type_traits(658,1):
      查看对正在编译的 类 模板 实例化“proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>”的引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\wrapper.hpp(652,8):
      在编译 类 模板 成员函数“void proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>::solve(tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>,tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>,tl::optional<Eigen::Ref<const Eigen::Matrix<double,-1,1,0,-1,1>,0,Eigen::InnerStride<1>>>)”时
              C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\bindings\python\src\expose-qpobject.hpp(380,9):
              请参阅 "proxsuite::proxqp::sparse::python::exposeQpObjectSparse" 中对 "proxsuite::proxqp::sparse::QP<proxsuite::proxqp::f64,int32_t>::solve" 的第一个引用
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\wrapper.hpp(657,5):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::qp_solve<proxsuite::proxqp::f64,int32_t,proxsuite::proxqp::sparse::preconditioner::RuizEquilibration<T,I>>(proxsuite::proxqp::Results<T> &,proxsuite::proxqp::sparse::Model<T,I> &,const proxsuite::proxqp::Settings<T> &,proxsuite::proxqp::sparse::Workspace<T,I> &,P &)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t,
                P=proxsuite::proxqp::sparse::preconditioner::RuizEquilibration<proxsuite::proxqp::f64,int32_t>
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\solver.hpp(688,11):
      查看对正在编译的函数 模板 实例化“void proxsuite::proxqp::sparse::refactorize<proxsuite::proxqp::f64,int32_t>(proxsuite::proxqp::sparse::Workspace<T,I> &,const proxsuite::proxqp::Results<T> &,const proxsuite::proxqp::Settings<T> &,proxsuite::linalg::sparse::MatMut<T,I>,proxsuite::linalg::veg::SliceMut<bool>,const proxsuite::proxqp::sparse::Model<T,I> &,proxsuite::linalg::veg::dynstack::DynStackMut,proxsuite::linalg::veg::tags::Tag<T> &)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\proxqp\sparse\workspace.hpp(83,32):
      查看对正在编译的函数 模板 实例化“void proxsuite::linalg::sparse::factorize_numeric<T,int>(T *,I *,const T *,const int *,const I *,const I *,const I *,proxsuite::linalg::sparse::MatRef<T,I>,proxsuite::linalg::veg::dynstack::DynStackMut) noexcept(false)”的引用
            with
            [
                T=proxsuite::proxqp::f64,
                I=int32_t
            ]
      C:\Users\KK\AppData\Local\Temp\pip-req-build-fgya_fvu\include\proxsuite\linalg\sparse\factorize.hpp(1235,34):
      查看对正在编译的函数 模板 实例化“I *proxsuite::linalg::sparse::_detail::ereach<T>(proxsuite::linalg::veg::usize &,I *,proxsuite::linalg::sparse::SymbolicMatRef<I>,const I *,proxsuite::linalg::veg::isize,bool *) noexcept”的引用
            with
            [
                I=int32_t,
                T=int32_t
            ]

      正在创建库 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/proxsuite_pywrap_avx2.lib  和对象 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/proxsuite_pywrap_avx2.exp
      正在创建库 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/proxsuite_pywrap.lib 和对象 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/proxsuite_pywrap.exp
    proxsuite_pywrap.vcxproj -> C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite\proxsuite_pywrap.pyd
    proxsuite_pywrap_avx2.vcxproj -> C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite\proxsuite_pywrap_avx2.pyd
      正在创建库 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/proxsuite_pywrap_avx512.lib 和对象 C:/Users/KK/AppData/Local/Temp/cmeel-kcay74fe/bld/bindings/python/Debug/proxsuite_pywrap_avx512.exp
    proxsuite_pywrap_avx512.vcxproj -> C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\bindings\python\proxsuite\proxsuite_pywrap_avx512.pyd
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\KK\AppData\Local\Temp\cmeel-kcay74fe\bld\ALL_BUILD.vcxproj]
    Building Custom Rule C:/Users/KK/AppData/Local/Temp/pip-req-build-fgya_fvu/CMakeLists.txt
  适用于 .NET Framework MSBuild 版本 17.8.3+195e7f5a3
  MSBUILD : error MSB1009: 项目文件不存在。
  开关:test.vcxproj
  Traceback (most recent call last):
    File "D:\TaijiControl\python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "D:\TaijiControl\python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\TaijiControl\python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 152, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\KK\AppData\Local\Temp\pip-build-env-2yi0uhbi\overlay\Lib\site-packages\cmeel\build.py", line 26, in build_wheel
      return build_impl(wheel_directory, editable=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\KK\AppData\Local\Temp\pip-build-env-2yi0uhbi\overlay\Lib\site-packages\cmeel\impl.py", line 107, in build_impl
      launch_tests(True, run_tests and not run_tests_after_install, pyproject, build)
    File "C:\Users\KK\AppData\Local\Temp\pip-build-env-2yi0uhbi\overlay\Lib\site-packages\cmeel\utils.py", line 231, in launch_tests
      check_call(cmd, env=test_env)
    File "D:\TaijiControl\python312\Lib\subprocess.py", line 413, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '--build', 'C:\\Users\\KK\\AppData\\Local\\Temp\\cmeel-kcay74fe\\bld', '-t', 'test']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@fabinsch
Copy link
Collaborator

fabinsch commented Jun 4, 2024

Hi @kkzhang3,

thanks for your interest in Proxsuite. Until now, we have been building and releasing wheels on Pypi up to Python 3.11.
In the ongoing PR #324, we are extending it now to include Python 3.12 as well. Once the PR is merged, we will do a new release and you should be able to install proxsuite in an environment with Python 3.12 without any problems.

Alternatively, you could either use conda install proxsuite -c conda-forge or create a new python env with 3.11 and pip install proxsuite there.

@kkzhang3
Copy link
Author

kkzhang3 commented Jun 4, 2024

Thank you!

@jcarpent
Copy link
Member

jcarpent commented Jun 4, 2024

A new release is in the pipe ;)
Thanks @fabinsch for the great work.

@jcarpent
Copy link
Member

jcarpent commented Jun 5, 2024

Should be nicely working now.

@jcarpent jcarpent closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants