Guest User

pye3d pip install error

a guest
Aug 14th, 2021
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.56 KB | None | 0 0
  1. Collecting pye3d
  2. Using cached pye3d-0.1.1.tar.gz (56 kB)
  3. Installing build dependencies: started
  4. Installing build dependencies: finished with status 'done'
  5. Getting requirements to build wheel: started
  6. Getting requirements to build wheel: finished with status 'done'
  7. Preparing wheel metadata: started
  8. Preparing wheel metadata: finished with status 'done'
  9. Requirement already satisfied: numpy in c:\users\xxx\venv3\lib\site-packages (from pye3d) (1.20.2)
  10. Collecting sortedcontainers
  11. Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
  12. Requirement already satisfied: scipy>=1.2.1 in c:\users\xxx\venv3\lib\site-packages (from pye3d) (1.6.2)
  13. Collecting joblib
  14. Using cached joblib-1.0.1-py3-none-any.whl (303 kB)
  15. Collecting scikit-learn==0.24.1
  16. Using cached scikit_learn-0.24.1-cp38-cp38-win32.whl (6.1 MB)
  17. Collecting threadpoolctl>=2.0.0
  18. Using cached threadpoolctl-2.2.0-py3-none-any.whl (12 kB)
  19. Building wheels for collected packages: pye3d
  20. Building wheel for pye3d (PEP 517): started
  21. Building wheel for pye3d (PEP 517): finished with status 'error'
  22. Failed to build pye3d
  23.  
  24. ERROR: Command errored out with exit status 1:
  25. command: 'C:\Users\xxx\venv3\Scripts\python.exe' 'C:\Users\xxx\venv3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\xxx\AppData\Local\Temp\tmp52jgz6kf'
  26. cwd: C:\Users\xxx\AppData\Local\Temp\pip-install-0rekjghv\pye3d_f6ff400b780e4a6f8a62dd070232821a
  27. Complete output (157 lines):
  28.  
  29.  
  30. --------------------------------------------------------------------------------
  31. -- Trying "Ninja (Visual Studio 16 2019 Win32 v142)" generator
  32. --------------------------------
  33. ---------------------------
  34. ----------------------
  35. -----------------
  36. ------------
  37. -------
  38. --
  39. Not searching for unused variables given on the command line.
  40. -- The C compiler identification is GNU 8.1.0
  41. -- Detecting C compiler ABI info
  42. -- Detecting C compiler ABI info - done
  43. -- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gcc.exe - skipped
  44. -- Detecting C compile features
  45. -- Detecting C compile features - done
  46. -- The CXX compiler identification is GNU 8.1.0
  47. -- Detecting CXX compiler ABI info
  48. -- Detecting CXX compiler ABI info - done
  49. -- Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/c++.exe - skipped
  50. -- Detecting CXX compile features
  51. -- Detecting CXX compile features - done
  52. -- Configuring done
  53. -- Generating done
  54. -- Build files have been written to: C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_cmake_test_compile/build
  55. --
  56. -------
  57. ------------
  58. -----------------
  59. ----------------------
  60. ---------------------------
  61. --------------------------------
  62. -- Trying "Ninja (Visual Studio 16 2019 Win32 v142)" generator - success
  63. --------------------------------------------------------------------------------
  64.  
  65. Configuring Project
  66. Working directory:
  67. C:\Users\xxx\AppData\Local\Temp\pip-install-0rekjghv\pye3d_f6ff400b780e4a6f8a62dd070232821a\_skbuild\win32-3.8\cmake-build
  68. Command:
  69. cmake 'C:\Users\xxx\AppData\Local\Temp\pip-install-0rekjghv\pye3d_f6ff400b780e4a6f8a62dd070232821a\pye3d\cpp' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\xxx\AppData\Local\Temp\pip-install-0rekjghv\pye3d_f6ff400b780e4a6f8a62dd070232821a\_skbuild\win32-3.8\cmake-install\pye3d\cpp' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\xxx\venv3\Scripts\python.exe' -DPYTHON_VERSION_STRING:STRING=3.8.3 '-DPYTHON_INCLUDE_DIR:PATH=C:\Program Files (x86)\Python38-32\Include' '-DPYTHON_LIBRARY:FILEPATH=C:\Program Files (x86)\Python38-32\libs\python38.lib' -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\xxx\AppData\Local\Temp\pip-build-env-9c7sui4x\overlay\Lib\site-packages\skbuild\resources\cmake' -DCMAKE_BUILD_TYPE:STRING=Release
  70.  
  71. -- The C compiler identification is GNU 8.1.0
  72. -- The CXX compiler identification is GNU 8.1.0
  73. -- Detecting C compiler ABI info
  74. -- Detecting C compiler ABI info - done
  75. -- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gcc.exe - skipped
  76. -- Detecting C compile features
  77. -- Detecting C compile features - done
  78. -- Detecting CXX compiler ABI info
  79. -- Detecting CXX compiler ABI info - done
  80. -- Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/c++.exe - skipped
  81. -- Detecting CXX compile features
  82. -- Detecting CXX compile features - done
  83. -- Found PythonInterp: C:/Users/xxx/venv3/Scripts/python.exe (found version "3.8.3")
  84. -- Found PythonLibs: C:/Program Files (x86)/Python38-32/libs/python38.lib (found version "3.8.3")
  85. -- Found Cython: C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Scripts/cython.exe
  86. -- Found NumPy: C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include (found version "1.21.1")
  87. -- OpenCV ARCH: x64
  88. -- OpenCV RUNTIME: mingw
  89. -- OpenCV STATIC: OFF
  90. -- Found OpenCV: C:/opencv (found version "4.5.3")
  91. -- Found OpenCV 4.5.3 in C:/opencv/x64/mingw/lib
  92. -- You might need to add C:\opencv\x64\mingw\bin to your PATH to be able to run your applications.
  93. -- Performing Test Weak Link MODULE -> SHARED (gnu_ld_ignore) - Failed
  94. -- Performing Test Weak Link MODULE -> SHARED (osx_dynamic_lookup) - Failed
  95. -- Performing Test Weak Link MODULE -> SHARED (no_flag) - Failed
  96. _modinit_prefix:PyInit_
  97. _modinit_prefix:PyInit_
  98. _modinit_prefix:PyInit_
  99. -- Configuring done
  100. -- Generating done
  101. CMake Warning:
  102. Manually-specified variables were not used by the project:
  103.  
  104. SKBUILD
  105.  
  106.  
  107. -- Build files have been written to: C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build
  108. [1/10] Generating CXX source projections.cxx
  109. [2/10] Generating CXX source refraction_correction.cxx
  110. [3/10] Generating CXX source pupil_detection_3d.cxx
  111. [4/10] Building CXX object CMakeFiles/refraction_correction.dir/refraction_correction.cxx.obj
  112. FAILED: CMakeFiles/refraction_correction.dir/refraction_correction.cxx.obj
  113. C:\PROGRA~1\MINGW-~1\X86_64~1.0-P\mingw64\bin\C__~1.EXE -Drefraction_correction_EXPORTS -IC:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/pye3d/cpp/. -IC:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include -I"C:/Program Files (x86)/Python38-32/Include" -isystem C:/eigen-3.3.9/eigen-3.3.9 -O3 -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/refraction_correction.dir/refraction_correction.cxx.obj -MF CMakeFiles\refraction_correction.dir\refraction_correction.cxx.obj.d -o CMakeFiles/refraction_correction.dir/refraction_correction.cxx.obj -c C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/refraction_correction.cxx
  114. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/refraction_correction.cxx:203:41: warning: division by zero [-Wdiv-by-zero]
  115. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  116. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  117. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/refraction_correction.cxx:203:79: error: division by zero is not a constant expression
  118. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  119. ^
  120. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/refraction_correction.cxx:203:41: error: '(1 / 0)' is not a constant expression
  121. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  122. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/refraction_correction.cxx:203:79: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
  124. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  125. ^
  126. In file included from C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
  127. from C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
  128. from C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/arrayobject.h:4,
  129. from C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/refraction_correction.cxx:634:
  130. C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:77: note: #pragma message: C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
  131. "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION")
  132. ^
  133. [5/10] Building CXX object CMakeFiles/pupil_detection_3d.dir/pupil_detection_3d.cxx.obj
  134. FAILED: CMakeFiles/pupil_detection_3d.dir/pupil_detection_3d.cxx.obj
  135. C:\PROGRA~1\MINGW-~1\X86_64~1.0-P\mingw64\bin\C__~1.EXE -Dpupil_detection_3d_EXPORTS -IC:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/pye3d/cpp/. -IC:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include -I"C:/Program Files (x86)/Python38-32/Include" -isystem C:/opencv/include -isystem C:/eigen-3.3.9/eigen-3.3.9 -O3 -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/pupil_detection_3d.dir/pupil_detection_3d.cxx.obj -MF CMakeFiles\pupil_detection_3d.dir\pupil_detection_3d.cxx.obj.d -o CMakeFiles/pupil_detection_3d.dir/pupil_detection_3d.cxx.obj -c C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/pupil_detection_3d.cxx
  136. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/pupil_detection_3d.cxx:203:41: warning: division by zero [-Wdiv-by-zero]
  137. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  138. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/pupil_detection_3d.cxx:203:79: error: division by zero is not a constant expression
  140. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  141. ^
  142. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/pupil_detection_3d.cxx:203:41: error: '(1 / 0)' is not a constant expression
  143. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  144. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  145. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/pupil_detection_3d.cxx:203:79: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
  146. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  147. ^
  148. In file included from C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
  149. from C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
  150. from C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/arrayobject.h:4,
  151. from C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/pupil_detection_3d.cxx:634:
  152. C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:77: note: #pragma message: C:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
  153. "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION")
  154. ^
  155. [6/10] Building CXX object CMakeFiles/projections.dir/projections.cxx.obj
  156. FAILED: CMakeFiles/projections.dir/projections.cxx.obj
  157. C:\PROGRA~1\MINGW-~1\X86_64~1.0-P\mingw64\bin\C__~1.EXE -Dprojections_EXPORTS -IC:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/pye3d/cpp/. -IC:/Users/xxx/AppData/Local/Temp/pip-build-env-9c7sui4x/overlay/Lib/site-packages/numpy/core/include -I"C:/Program Files (x86)/Python38-32/Include" -isystem C:/eigen-3.3.9/eigen-3.3.9 -O3 -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/projections.dir/projections.cxx.obj -MF CMakeFiles\projections.dir\projections.cxx.obj.d -o CMakeFiles/projections.dir/projections.cxx.obj -c C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/projections.cxx
  158. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/projections.cxx:203:41: warning: division by zero [-Wdiv-by-zero]
  159. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  160. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  161. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/projections.cxx:203:79: error: division by zero is not a constant expression
  162. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  163. ^
  164. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/projections.cxx:203:41: error: '(1 / 0)' is not a constant expression
  165. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  166. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167. C:/Users/xxx/AppData/Local/Temp/pip-install-0rekjghv/pye3d_f6ff400b780e4a6f8a62dd070232821a/_skbuild/win32-3.8/cmake-build/projections.cxx:203:79: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
  168. enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  169. ^
  170. ninja: build stopped: subcommand failed.
  171. Traceback (most recent call last):
  172. File "C:\Users\xxx\AppData\Local\Temp\pip-build-env-9c7sui4x\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 593, in setup
  173. cmkr.make(make_args, env=env)
  174. File "C:\Users\xxx\AppData\Local\Temp\pip-build-env-9c7sui4x\overlay\Lib\site-packages\skbuild\cmaker.py", line 504, in make
  175. raise SKBuildError(
  176.  
  177. An error occurred while building with CMake.
  178. Command:
  179. cmake --build . --target install --config Release --
  180. Source directory:
  181. C:\Users\xxx\AppData\Local\Temp\pip-install-0rekjghv\pye3d_f6ff400b780e4a6f8a62dd070232821a
  182. Working directory:
  183. C:\Users\xxx\AppData\Local\Temp\pip-install-0rekjghv\pye3d_f6ff400b780e4a6f8a62dd070232821a\_skbuild\win32-3.8\cmake-build
  184. Please see CMake's output for more information.
  185. ----------------------------------------
  186. ERROR: Failed building wheel for pye3d
  187. ERROR: Could not build wheels for pye3d which use PEP 517 and cannot be installed directly
  188.  
Advertisement
Add Comment
Please, Sign In to add comment