Skip to content
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

Pyrealsense2 wrappers not transferred to /usr/local/lib after install #6

Open
TCIII opened this issue Jul 18, 2021 · 2 comments
Open

Comments

@TCIII
Copy link

TCIII commented Jul 18, 2021

The six pyrealsense2 wrappers are stored here: /usr/lib/python3/dist-packages/pyrealsense2 when they should have been stored in /usr/lib/python3.7/dist-packages/pyrealsense2 where there is a python program to import them to /usr/local/lib.

You can manually transfer them to /usr/local/lib from /usr/lib/python3/dist-packages/pyrealsense2 using the cp copy function.

@Camilochiang
Copy link

Similar here. In my case the files finish here: /usr/local/lib/python3.6/pyrealsense2 , and It was not possible to import the library. After moving the folder to /dist-packages you can import the library but the .so files need to be where your script is , as recomended here

RP4 + Ubuntu server 18.04
ubuntu@ubuntu:/usr/local/lib/pyrealsense2$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic ubuntu@ubuntu:/usr/local/lib/pyrealsense2$ uname -r 5.4.0-1041-raspi ubuntu@ubuntu:/usr/local/lib/pyrealsense2$ dpkg --print-architecture arm64

@sanxincao
Copy link

thanks its work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants