Advertisement
Guest User

Untitled

a guest
Nov 4th, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. /home/rpi1/Desktop/Python-3.8.15/PolarizedCameraCalib/bin/python3.8 -m pip install pandas==1.5.2
  2. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  3. Collecting pandas==1.5.2
  4. Downloading pandas-1.5.2.tar.gz (5.2 MB)
  5. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 203.3 kB/s eta 0:00:00
  6. Installing build dependencies ... error
  7. error: subprocess-exited-with-error
  8.  
  9. × pip subprocess to install build dependencies did not run successfully.
  10. │ exit code: 1
  11. ╰─> [90 lines of output]
  12. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
  13. Collecting setuptools>=51.0.0
  14. Downloading https://www.piwheels.org/simple/setuptools/setuptools-68.2.2-py3-none-any.whl (807 kB)
  15. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 807.9/807.9 kB 390.3 kB/s eta 0:00:00
  16. Collecting wheel
  17. Downloading https://www.piwheels.org/simple/wheel/wheel-0.41.3-py3-none-any.whl (65 kB)
  18. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 295.1 kB/s eta 0:00:00
  19. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/cython/
  20. Collecting Cython<3,>=0.29.32
  21. Downloading Cython-0.29.36-py2.py3-none-any.whl.metadata (3.1 kB)
  22. Collecting oldest-supported-numpy>=2022.8.16
  23. Downloading https://www.piwheels.org/simple/oldest-supported-numpy/oldest_supported_numpy-2023.10.25-py3-none-any.whl (4.9 kB)
  24. Collecting numpy==1.19.2 (from oldest-supported-numpy>=2022.8.16)
  25. Downloading numpy-1.19.2.zip (7.3 MB)
  26. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 218.5 kB/s eta 0:00:00
  27. Installing build dependencies: started
  28. Installing build dependencies: finished with status 'done'
  29. Getting requirements to build wheel: started
  30. Getting requirements to build wheel: finished with status 'done'
  31. Preparing metadata (pyproject.toml): started
  32. Preparing metadata (pyproject.toml): finished with status 'error'
  33. error: subprocess-exited-with-error
  34.  
  35. × Preparing metadata (pyproject.toml) did not run successfully.
  36. │ exit code: 1
  37. ╰─> [54 lines of output]
  38.  
  39. Error compiling Cython file:
  40. ------------------------------------------------------------
  41. ...
  42. cdef sfc64_state rng_state
  43.  
  44. def __init__(self, seed=None):
  45. BitGenerator.__init__(self, seed)
  46. self._bitgen.state = <void *>&self.rng_state
  47. self._bitgen.next_uint64 = &sfc64_uint64
  48. ^
  49. ------------------------------------------------------------
  50.  
  51. _sfc64.pyx:90:35: Cannot assign type 'uint64_t (*)(void *) except? -1 nogil' to 'uint64_t (*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to type 'uint64_t (void *) except? -1 nogil'.
  52. Processing numpy/random/_bounded_integers.pxd.in
  53. Processing numpy/random/_sfc64.pyx
  54. Traceback (most recent call last):
  55. File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 235, in <module>
  56. main()
  57. File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 231, in main
  58. find_process_files(root_dir)
  59. File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 222, in find_process_files
  60. process(root_dir, fromfile, tofile, function, hash_db)
  61. File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 188, in process
  62. processor_function(fromfile, tofile)
  63. File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 77, in process_pyx
  64. subprocess.check_call(
  65. File "/usr/local/lib/python3.8/subprocess.py", line 364, in check_call
  66. raise CalledProcessError(retcode, cmd)
  67. subprocess.CalledProcessError: Command '['/home/rpi1/Desktop/Python-3.8.15/PolarizedCameraCalib/bin/python3.8', '-m', 'cython', '-3', '--fast-fail', '-o', '_sfc64.c', '_sfc64.pyx']' returned non-zero exit status 1.
  68. Running from numpy source directory.
  69. setup.py:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
  70. run_build = parse_setuppy_commands()
  71. Cythonizing sources
  72. Traceback (most recent call last):
  73. File "/home/rpi1/Desktop/Python-3.8.15/PolarizedCameraCalib/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  74. main()
  75. File "/home/rpi1/Desktop/Python-3.8.15/PolarizedCameraCalib/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  76. json_out['return_val'] = hook(**hook_input['kwargs'])
  77. File "/home/rpi1/Desktop/Python-3.8.15/PolarizedCameraCalib/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
  78. return hook(metadata_directory, config_settings)
  79. File "/tmp/pip-build-env-4ej6jvfp/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 157, in prepare_metadata_for_build_wheel
  80. self.run_setup()
  81. File "/tmp/pip-build-env-4ej6jvfp/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 248, in run_setup
  82. super(_BuildMetaLegacyBackend,
  83. File "/tmp/pip-build-env-4ej6jvfp/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in run_setup
  84. exec(compile(code, __file__, 'exec'), locals())
  85. File "setup.py", line 499, in <module>
  86. setup_package()
  87. File "setup.py", line 479, in setup_package
  88. generate_cython()
  89. File "setup.py", line 274, in generate_cython
  90. raise RuntimeError("Running cythonize failed!")
  91. RuntimeError: Running cythonize failed!
  92. [end of output]
  93.  
  94. note: This error originates from a subprocess, and is likely not a problem with pip.
  95. error: metadata-generation-failed
  96.  
  97. × Encountered error while generating package metadata.
  98. ╰─> See above for output.
  99.  
  100. note: This is an issue with the package mentioned above, not pip.
  101. hint: See above for details.
  102. [end of output]
  103.  
  104. note: This error originates from a subprocess, and is likely not a problem with pip.
  105. error: subprocess-exited-with-error
  106.  
  107. × pip subprocess to install build dependencies did not run successfully.
  108. │ exit code: 1
  109. ╰─> See above for output.
  110.  
  111. note: This error originates from a subprocess, and is likely not a problem with pip.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement