-
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
glbic_2.29 #12137
Comments
Hi @naorwaiss This error has not previously been reported in regard to the pyrealsense2 wrapper. As aarch64 is referenced, it looks as though your computer / computing device is based on the Arm hardware architecture. So that means that pyrealsense2 has to be built from source code, as the pip install pyrealsense2 package install method will not work on Arm. Which computer / computing device are you using, please? pyrealsense2 can be installed from source with CMake at the same time as building the librealsense SDK or afterwards. #6964 (comment) has a guide for installing librealsense and pyrealsense2 together on Nvidia Jetson (an Arm-based board) that you may be able to adapt for your own computer if you are not using Jetson. In the Alternatively, the method for installing pyrealsense2 after librealsense has already been installed is described in the link below. |
hi, i am using jetson nano |
The #6964 (comment) guide should be ideal for you then as it was written particularly for Jetson Nano (though it works with most Jetson board models). |
hi... its didnt work.. thanks alot |
I noe that you are using pycharm. There is a past case at #4089 where a Nano user with pycharm experienced the error ModuleNotFoundError: No module named 'pyrealsense2' when, like you, they simply ran the line the pyrealsense2 import instruction. Another RealSense user in that case suggested at #4089 (comment) to edit the bashrc file. |
o try it also. |
pip install pyrealsense2 cannot be used on Jetson Nano as this installation method is not compatible with Arm devices such as Nvidia Jetson. It should not be used at all on Nano. |
ok have some step foword today /home/fhsbs/.virtualenvs/pythonProject2/bin/python /tmp/pycharm_project_260/depth_camera.py Process finished with exit code 1 now this problem is rising |
Does the error still occur if you input the lines below into the terminal?
|
hi its didnt gave me nothing when i run this command and after i try to run the script |
Instead of using import pyrealsense2 as rs, is the problem corrected if you instead use this: import pyrealsense2.pyrealsense2 as rs |
thanks bro its help i got camera and depth with the pyrealsense2 |
You are very welcome. That's great to hear that you were successful! |
Hi @naorwaiss Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comment received. |
hi this is my problem
/home/fhsbs/.virtualenvs/pythonProject2/bin/python /tmp/pycharm_project_762/depth_camera.py
Traceback (most recent call last):
File "/tmp/pycharm_project_762/depth_camera.py", line 4, in
import pyrealsense2 as rs
File "/home/fhsbs/.local/lib/python3.9/site-packages/pyrealsense2/init.py", line 2, in
from .pyrealsense2 import *
ImportError: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/fhsbs/.local/lib/python3.9/site-packages/pyrealsense2/pyrealsense2.cpython-39-aarch64-linux-gnu.so)
Process finished with exit code 1
i try to run simple python code
python version 3.9.12
pyrealsense2 2.54.1.5217
i do the download from the clone (ask chat gpt for the download)
did someone can help me
(got ld515 cam)
The text was updated successfully, but these errors were encountered: