Skip to content

Building Python Bindings for Conda Virtual Environment on Jetson #13807

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: 2 comments 1 reply

You must be logged in to vote
1 reply
@happydrones

Answer selected by happydrones

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
2 participants