-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
v2.5.6.1 Beta Python Install Error #13362
Comments
Hi @stu68 The interim beta release of 2.56.1 does not have Python wheels published for this version. |
Hi @stu68 Do you require further assistance with this case, please? Thanks! |
Is there an ETA for Python 3.12 compatibility. I purchased a realsense camera and have been unable to use it.
Thank you,
Stu
From: MartyG-RealSense ***@***.***>
Sent: Thursday, September 26, 2024 4:11 AM
To: IntelRealSense/librealsense ***@***.***>
Cc: Stuart Miller ***@***.***>; Mention ***@***.***>
Subject: Re: [IntelRealSense/librealsense] v2.5.6.1 Beta Python Install Error (Issue #13362)
Hi @stu68<https://github.com/stu68> Do you require further assistance with this case, please? Thanks!
—
Reply to this email directly, view it on GitHub<#13362 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADDWQCEHQVVKVH4RCDN2T43ZYPTUNAVCNFSM6AAAAABOP3AHPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZWGY2DKMJSHE>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
2.56.1 is already compatible with Python 3.12. At the moment though, the pyrealsense2 wrapper needs to be built from source code instead of using PyPi (pip install pyrealsense2) when installing the wrapper with 2.56.1. If you need to use a whl package and there are not packages available for a particular librealsense version then #12601 (comment) describes a workaround method provided by my Intel RealSense colleagues for creating your own whl. |
Hi @stu68 Do you require further assistance with this case, please? Thanks! |
I am getting the following when trying to install the latest beta release into python 3.12/ PyCharm:
Processing c:\users\admin\documents\github\librealsense-development\wrappers\python
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\Admin\AppData\Local\Programs\Python\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 "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-kikdptcn\overlay\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-kikdptcn\overlay\Lib\site-packages\setuptools\build_meta.py", line 302, in get_build_requires
self.run_setup()
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-kikdptcn\overlay\Lib\site-packages\setuptools\build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-kikdptcn\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 5, in
File "C:\Users\Admin\Documents\GitHub\librealsense-development\wrappers\python\pyrealsense2_init.py", line 2, in
from .pyrealsense2 import *
ModuleNotFoundError: No module named 'pyrealsense2.pyrealsense2'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
The text was updated successfully, but these errors were encountered: