Comments (31)
Hi @jiaqizheng2000 Have you installed the librealsense SDK on your Linux 11 (Bullseye) computer, please?
from librealsense.
Yes, I have installed it following https://dev.intelrealsense.com/docs/compiling-librealsense-for-linux-ubuntu-guide#prerequisites
from librealsense.
and I can open it by command realsense-viewer, and see the image
from librealsense.
Is your Python program a pyrealsense2 one? If it is, have you installed the RealSense pyrealsense2 wrapper after you installed librealsense?
On a PC computer you can install the pyrealsense2 wrapper with the command pip install pyrealsense2
from librealsense.
I have installed pyrealsense2
from librealsense.
is there some problem with VERSION="11 (bullseye)"? Do I need to change to Buster? Will it work?
from librealsense.
The Raspberry Pi version of Bullseye does not work with RealSense, while Buster does.
I do not know whether the Debian Bullseye has the same problem though.
from librealsense.
ok, I will try The Raspberry Pi version of Buster to see whether it works. Could you send me a guidance or just need to do the same process as before.
from librealsense.
There is an installation guide at the link below, though it is old and so you may need to edit the deb9u1 part of the command below so it is deb10u1 (Buster) instead.
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_raspbian.md
from librealsense.
ok, thank you very much, I will try it tomorrow
from librealsense.
E: Unable to locate package libglui-dev
E: Unable to locate package libglui2c2
There are two errors when I install the package, I just skip them, does they matter?
from librealsense.
I believe that these packages are related to GLFW graphics support and are installed when using Ubuntu 18. 20 and 22. So they may not be necessary on your Debian based installation.
from librealsense.
Ok,thanks.
And I also have some issues with protobuf.
when I run ./autogen.sh, it shows as below.
- autoreconf -f -i -Wall,no-obsolete
configure.ac:30: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
from librealsense.
The protobuf version in the instructions is very old because the guide is old. Using protobuf v3.14.0 instead of v3.5.1 may work better for you.
from librealsense.
ok, and I have installed pyrealsense2 following the guide, but when I import pyrealsense2, it still shows no module named pyrealsense2
from librealsense.
Does it make a difference if you use import pyrealsense2.pyrealsense2 as rs instead of import pyrealsense2 as rs
from librealsense.
No, it doesn't work. And I saw some online guide said that need to move some *.so、so.2、so.2.50、so.2.50.0 file to /usr/lib/python3 from librealsense/build/wrappers/python, but I didn't see them when I have done pyrealsense2 installation.
from librealsense.
Do you have any files with the ending .so in the build/wrappers/python folder, please?
As you are using Python 3, the pyrealsense2.so file will have a complex auto-generated filename based on the Python 3 version that you are using. So if Python 3.7 was being used then the pyrealsense2.so file might have a filename like pyrealsense2.cpython-37m-arm-linux-gnueabihf.so
from librealsense.
No,I didn't find any files ending with .so in the librealsense/build/wrappers/python folder
from librealsense.
from librealsense.
If you run pip install pyrealsense2 again and then try your manage.py program, do you still get the segmentation fault?
from librealsense.
when I run pip install pyrealsense2, or pip3 install pyrealsense2, it will raise the error:
Could not find a version that satisfies the requirement pyrealsense2 (from versions: )
No matching distribution found for pyrealsense2
from librealsense.
Which Python 3 version are you using, please? That pip install error could occur if a Python 3 version older than 3.7 (such as 3.6) was being used.
from librealsense.
from librealsense.
Is your computer a desktop / laptop PC or does it use Arm architecture? If it is based on Arm then the minimum Python requirement for pip install would be 3.9 instead of 3.7.
from librealsense.
from librealsense.
I've had previous reports that the Arm files of pip install pyrealsense2 work with Arm in general but not Raspberry Pi in particular, so that may be the reason why pip install is not working for you. In that case, building pyrealsense2 from source code would be the only option, unfortunately.
You have already tried building the wrapper from source on your Pi, but it is not clear why the .so files are not being generated in the build/wrappers/python folder. You do not seem to be doing anything incorrect.
from librealsense.
Ok,thanks for your kind help.
from librealsense.
Hi @jiaqizheng2000 Do you require further assistance with this case, please? Thanks!
from librealsense.
No,thanks
from librealsense.
You are very welcome. Thanks very much for the update!
from librealsense.
Related Issues (20)
- T265 Accuracy Issue
- lagging and frame drop with realsense d435 on Jetson Xavier HOT 14
- ROS 2 Humble Docker in Raspberry cannot find camera HOT 13
- D435i showing as D430i; showing error ISP update failed HOT 10
- Synchronizing Emitter ON-OFF pattern using hardware sync cable HOT 12
- L515 Cannot open HOT 4
- Issue with Saving Depth Information in PNG Frames and Reading Unexpected Values HOT 10
- [140041002829568] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 HOT 15
- Jetson Orin with Jetpack 6.0 HOT 9
- Double-free error (segfault) aligning deep and RGB with two cameras HOT 5
- Realsense Depth camera D455 giving unstable gyro data HOT 5
- Cannot build with flag BUILD_NETWORK_DEVICE=ON HOT 2
- Calibration problem in Realsense camera D435 1.20 meter HOT 8
- update pkg-config librealsense.pc.in file to support macos HOT 3
- How to setup Pyrealsense on Raspberry Pi 5? HOT 3
- Ubuntu 20.04 + Docker + Humble on Jetson Orin Nano HOT 4
- Realsense Depth D455 camera Imu data and confusion regarding axes HOT 3
- camera vertical installation HOT 8
- Understanding IMU Calibration and Allan Variance calculation HOT 3
- Verify that the kernel 6.2.8 with no `realsense` string HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librealsense.