Skip to content

Error installing via pip on windows 11 #385

@TSS-22

Description

@TSS-22

Hello,
When trying to install via pip install ezc3d I receive the following error.
This is done on a clean new virtual environment.
I am using python 3.14.2.

Python 3.14.2 (tags/v3.14.2:df79316, Dec 5 2025, 17:18:21) [MSC v.1944 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
I am using Windows 11 Version 10.0.26200 Build 26200.

From the pip log, it could be something to do during the build of the C++ code as it mention some problems that CMake is having. But at the same time, I can build the release 1.6.3 manually using CMake. I pasted the Python and CMake logs below:

Installing via pip

(venv) C:\Users\hfm\Documents\c3d>pip install ezc3d
Collecting ezc3d
  Using cached ezc3d-1.6.3.tar.gz (49 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting numpy (from ezc3d)
  Using cached numpy-2.4.2-cp314-cp314-win_amd64.whl.metadata (6.6 kB)
Using cached numpy-2.4.2-cp314-cp314-win_amd64.whl (12.4 MB)
Building wheels for collected packages: ezc3d
  Building wheel for ezc3d (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for ezc3d (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [92 lines of output]


      --------------------------------------------------------------------------------
      -- Trying 'Ninja (Visual Studio 17 2022 x64 v144)' generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      -- The C compiler identification is MSVC 19.44.35222.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- The CXX compiler identification is MSVC 19.44.35222.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done (2.4s)
      -- Generating done (0.1s)
      -- Build files have been written to: C:/Users/hfm/AppData/Local/Temp/pip-install-4y2zpz_f/ezc3d_8af7e75519824f4e97bde41649a66c7e/_cmake_test_compile/build
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying 'Ninja (Visual Studio 17 2022 x64 v144)' generator - success
      --------------------------------------------------------------------------------

      Configuring Project
        Working directory:
          C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e\_skbuild\win-amd64-3.14\cmake-build
        Command:
          'C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e' -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja -D_SKBUILD_FORCE_MSVC=1930 --no-warn-unused-cli '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e\_skbuild\win-amd64-3.14\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.14.2 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\hfm\Documents\c3d\venv\Scripts\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Python314\Include' '-DPYTHON_LIBRARY:PATH=C:\Python314\libs\python314.lib' '-DPython_EXECUTABLE:PATH=C:\Users\hfm\Documents\c3d\venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\hfm\Documents\c3d\venv' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Python314\Include' '-DPython_LIBRARY:PATH=C:\Python314\libs\python314.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\numpy\_core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\hfm\Documents\c3d\venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\hfm\Documents\c3d\venv' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Python314\Include' '-DPython3_LIBRARY:PATH=C:\Python314\libs\python314.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\numpy\_core\include' -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja -DBUILD_EXAMPLE:BOOL=OFF -DBINDER_PYTHON3:BOOL=ON -DCMAKE_INSTALL_BINDIR=ezc3d -DCMAKE_INSTALL_LIBDIR=ezc3d -DCMAKE_BUILD_TYPE:STRING=Release

      Not searching for unused variables given on the command line.
      -- The C compiler identification is MSVC 19.44.35222.0
      -- The CXX compiler identification is MSVC 19.44.35222.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      CMake Error: File C:/Users/hfm/AppData/Local/Temp/pip-install-4y2zpz_f/ezc3d_8af7e75519824f4e97bde41649a66c7e/include/ezc3d/ezc3dConfig.h.in does not exist.
      CMake Error at CMakeLists.txt:85 (configure_file):
        configure_file Problem configuring file


      CMake Error: File C:/Users/hfm/AppData/Local/Temp/pip-install-4y2zpz_f/ezc3d_8af7e75519824f4e97bde41649a66c7e/share/ezc3dConfig.cmake.in does not exist.
      CMake Error at C:/Users/hfm/AppData/Local/Temp/pip-build-env-th56t5go/overlay/Lib/site-packages/cmake/data/share/cmake-4.2/Modules/CMakePackageConfigHelpers.cmake:519 (configure_file):
        configure_file Problem configuring file
      Call Stack (most recent call first):
        CMakeLists.txt:115 (configure_package_config_file)


      CMake Error at CMakeLists.txt:153 (add_subdirectory):
        add_subdirectory given source "binding" which is not an existing directory.


      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 661, in setup
          env = cmkr.configure(
              cmake_args,
          ...<3 lines>...
              languages=cmake_languages,
          )
        File "C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\skbuild\cmaker.py", line 356, in configure
          raise SKBuildError(msg)

      An error occurred while configuring with CMake.
        Command:
          'C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e' -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja -D_SKBUILD_FORCE_MSVC=1930 --no-warn-unused-cli '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e\_skbuild\win-amd64-3.14\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.14.2 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\hfm\Documents\c3d\venv\Scripts\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Python314\Include' '-DPYTHON_LIBRARY:PATH=C:\Python314\libs\python314.lib' '-DPython_EXECUTABLE:PATH=C:\Users\hfm\Documents\c3d\venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\hfm\Documents\c3d\venv' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Python314\Include' '-DPython_LIBRARY:PATH=C:\Python314\libs\python314.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\numpy\_core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\hfm\Documents\c3d\venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\hfm\Documents\c3d\venv' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Python314\Include' '-DPython3_LIBRARY:PATH=C:\Python314\libs\python314.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\hfm\AppData\Local\Temp\pip-build-env-th56t5go\overlay\Lib\site-packages\numpy\_core\include' -DCMAKE_MAKE_PROGRAM:FILEPATH=ninja -DBUILD_EXAMPLE:BOOL=OFF -DBINDER_PYTHON3:BOOL=ON -DCMAKE_INSTALL_BINDIR=ezc3d -DCMAKE_INSTALL_LIBDIR=ezc3d -DCMAKE_BUILD_TYPE:STRING=Release
        Source directory:
          C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e
        Working directory:
          C:\Users\hfm\AppData\Local\Temp\pip-install-4y2zpz_f\ezc3d_8af7e75519824f4e97bde41649a66c7e\_skbuild\win-amd64-3.14\cmake-build
      Please see CMake's output for more information.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for ezc3d
Failed to build ezc3d
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> ezc3d

Building the C++ code manually

PS C:\Users\hfm\Documents\c3d\ezc3d-Release_1.6.3\ezc3d-Release_1.6.3\build> cmake -G "Visual Studio 17 2022" ..\CMakeLists.txt
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.26200.
-- The C compiler identification is MSVC 19.44.35222.0
-- The CXX compiler identification is MSVC 19.44.35222.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (29.4s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/build
PS C:\Users\hfm\Documents\c3d\ezc3d-Release_1.6.3\ezc3d-Release_1.6.3\build> cmake --build . --config Release
MSBuild version 17.14.40+3e7442088 for .NET Framework

  1>Checking Build System
  Building Custom Rule C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/CMakeLists.txt
  Matrix.cpp
  Matrix33.cpp
  Matrix44.cpp
  Matrix66.cpp
  Vector3d.cpp
  Vector6d.cpp
  Analogs.cpp
  AnalogsInfo.cpp
  AnalogsSubframe.cpp
  Channel.cpp
  Data.cpp
  DataStartInfo.cpp
  ezc3d.cpp
  Frame.cpp
  Group.cpp
  Header.cpp
  Parameter.cpp
  Parameters.cpp
  Point.cpp
  Points.cpp
  Generating Code...
  Compiling...
  PointsInfo.cpp
  Rotation.cpp
  Rotations.cpp
  RotationsInfo.cpp
  RotationsSubframe.cpp
  ForcePlatforms.cpp
  Generating Code...
     Creating library C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/build/Release/ezc3d.lib and ob
  ject C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/build/Release/ezc3d.exp
  ezc3d.vcxproj -> C:\Users\hfm\Documents\c3d\ezc3d-Release_1.6.3\ezc3d-Release_1.6.3\build\Release\ezc3d.dll
  Building Custom Rule C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/examples/CMakeLists.txt
  create_and_read_example.cpp
  create_and_read_example.vcxproj -> C:\Users\hfm\Documents\c3d\ezc3d-Release_1.6.3\ezc3d-Release_1.6.3\build\examples\
  Release\create_and_read_example.exe
  Building Custom Rule C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/examples/CMakeLists.txt
  force_plate_example.cpp
  force_plate_example.vcxproj -> C:\Users\hfm\Documents\c3d\ezc3d-Release_1.6.3\ezc3d-Release_1.6.3\build\examples\Rele
  ase\force_plate_example.exe
  Building Custom Rule C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/examples/CMakeLists.txt
  modify_c3d_example.cpp
  modify_c3d_example.vcxproj -> C:\Users\hfm\Documents\c3d\ezc3d-Release_1.6.3\ezc3d-Release_1.6.3\build\examples\Relea
  se\modify_c3d_example.exe
  Building Custom Rule C:/Users/hfm/Documents/c3d/ezc3d-Release_1.6.3/ezc3d-Release_1.6.3/CMakeLists.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions