Skip to content

Building Python Bindings for Conda Virtual Environment on Jetson #13807

Discussion options

You must be logged in to vote

Hi @happydrones Please first try changing your pyrealsense2 import line to the one below.

import pyrealsense2.pyrealsense2 as rs

Does the ModuleNotFoundError still occur when using that modified command?

I also recommend using the command which python3 to check whether the PYTHONPATH is the same when using Conda, as for some Conda users they have a different path than when using Python 3. After finding the path, input the PYTHONPATH command into the terminal before running your script. Use the command below but change the path to whatever 'which python3' provides.

export PYTHONPATH=$PYTHONPATH:/usr/local/lib


I did not find a previous successful example of using Conda with librealense and…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@happydrones
Comment options

@traversaro
Comment options

Answer selected by happydrones
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants