JetsonHacksNano / installLibrealsense

Build and install Intel's librealsense for the NVIDIA Jetson Nano Developer Kit
MIT License
153 stars 68 forks source link

Jetson Xavier Python Library not importing. #45

Open niharhshah opened 2 years ago

niharhshah commented 2 years ago

Describe the issue Describe the issue that you are having.

NVIDIA Jetson Hardware Other: Jetson Xavier NX

L4T / JetPack Version Which version of L4T/JetPack are you using? For example, L4T 32.6.1/JetPack 4.6

Software version Please list the relevant software versions, for example OpenCV Python 3.6.9

To Reproduce For example, what command line did you run? The installlibrealsense and buildlibrealsense both scripts executed successfully. The realsense viewer is available. However importing pyrealsense2 is failing in both the python version.

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here, for example error logs

lacie-life commented 1 year ago

You can add "-DPYTHON_EXECUTABLE=$(which python3)" to the command cmake in build script. I have met the same problem with Jetpack 5.0.