Where are librealsense2.so and pyrealsense2.so copied to
Can you elaborate on the fifth step, where to copy it?
-
Hi, Step 5 is an optional step if you decide not to set a PYTHONPATH in Step 4. If you prefer though to copy the librealsense2 and pyrealsense2 files next to your script, then you should place them in the same folder that your pyrealsense2 program script is located in.
For example, if I wrote a script called 'test.py' then the .so files would be copied into the same folder that I had put test.py in so that they are 'next to' the script..
-
If you used export PYTHONPATH=$PYTHONPATH:/usr/local/lib then it looks as though the path was set correctly. I notice though that there are 3 different versions of pyrealsense2.so in your usr/local/lib directory (the last 3 files of the image). What you could try is moving the last 2 files - so.2 and so.2.13.0 - out of this directory into another folder on your desktop for safekeeping. If moving these 2 files out does not make a difference, you can then at least easily move them back into usr/local/lib again.
Please sign in to leave a comment.




Comments
7 comments