Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/rpi1/Desktop/Python-3.8.15/PolarizedCameraCalib/bin/python3.8 -m pip install pandas==1.5.2
- Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
- Collecting pandas==1.5.2
- Downloading pandas-1.5.2.tar.gz (5.2 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 203.3 kB/s eta 0:00:00
- Installing build dependencies ... error
- error: subprocess-exited-with-error
- × pip subprocess to install build dependencies did not run successfully.
- │ exit code: 1
- ╰─> [90 lines of output]
- Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
- Collecting setuptools>=51.0.0
- Downloading https://www.piwheels.org/simple/setuptools/setuptools-68.2.2-py3-none-any.whl (807 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 807.9/807.9 kB 390.3 kB/s eta 0:00:00
- Collecting wheel
- Downloading https://www.piwheels.org/simple/wheel/wheel-0.41.3-py3-none-any.whl (65 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 295.1 kB/s eta 0:00:00
- 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/
- Collecting Cython<3,>=0.29.32
- Downloading Cython-0.29.36-py2.py3-none-any.whl.metadata (3.1 kB)
- Collecting oldest-supported-numpy>=2022.8.16
- Downloading https://www.piwheels.org/simple/oldest-supported-numpy/oldest_supported_numpy-2023.10.25-py3-none-any.whl (4.9 kB)
- Collecting numpy==1.19.2 (from oldest-supported-numpy>=2022.8.16)
- Downloading numpy-1.19.2.zip (7.3 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 218.5 kB/s eta 0:00:00
- Installing build dependencies: started
- Installing build dependencies: finished with status 'done'
- Getting requirements to build wheel: started
- Getting requirements to build wheel: finished with status 'done'
- Preparing metadata (pyproject.toml): started
- Preparing metadata (pyproject.toml): finished with status 'error'
- error: subprocess-exited-with-error
- × Preparing metadata (pyproject.toml) did not run successfully.
- │ exit code: 1
- ╰─> [54 lines of output]
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef sfc64_state rng_state
- def __init__(self, seed=None):
- BitGenerator.__init__(self, seed)
- self._bitgen.state = <void *>&self.rng_state
- self._bitgen.next_uint64 = &sfc64_uint64
- ^
- ------------------------------------------------------------
- _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'.
- Processing numpy/random/_bounded_integers.pxd.in
- Processing numpy/random/_sfc64.pyx
- Traceback (most recent call last):
- File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 235, in <module>
- main()
- File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 231, in main
- find_process_files(root_dir)
- File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 222, in find_process_files
- process(root_dir, fromfile, tofile, function, hash_db)
- File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 188, in process
- processor_function(fromfile, tofile)
- File "/tmp/pip-install-jkvlc1vf/numpy_ac790bcf376744c2849bb4aeb7962469/tools/cythonize.py", line 77, in process_pyx
- subprocess.check_call(
- File "/usr/local/lib/python3.8/subprocess.py", line 364, in check_call
- raise CalledProcessError(retcode, cmd)
- 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.
- Running from numpy source directory.
- setup.py:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
- run_build = parse_setuppy_commands()
- Cythonizing sources
- Traceback (most recent call last):
- 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>
- main()
- 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
- json_out['return_val'] = hook(**hook_input['kwargs'])
- 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
- return hook(metadata_directory, config_settings)
- File "/tmp/pip-build-env-4ej6jvfp/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 157, in prepare_metadata_for_build_wheel
- self.run_setup()
- File "/tmp/pip-build-env-4ej6jvfp/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 248, in run_setup
- super(_BuildMetaLegacyBackend,
- File "/tmp/pip-build-env-4ej6jvfp/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in run_setup
- exec(compile(code, __file__, 'exec'), locals())
- File "setup.py", line 499, in <module>
- setup_package()
- File "setup.py", line 479, in setup_package
- generate_cython()
- File "setup.py", line 274, in generate_cython
- raise RuntimeError("Running cythonize failed!")
- RuntimeError: Running cythonize failed!
- [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.
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- error: subprocess-exited-with-error
- × pip subprocess to install build dependencies did not run successfully.
- │ exit code: 1
- ╰─> See above for output.
- 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