-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Pyrealsense no device connected #13723
Comments
Hi @Aterox-os It sounds as though the camera works at first and then later disconnects and becomes unavailable. Is that what is happening, please? Are you using a USB C to C cable on your Mac? If you are then these can have more problems with RealSense cameras than a USB A to C cable like the official 1 meter one supplied with the camera? |
I am not sure if the camera disconnects. I can see that macOS recognizes it but the librealsense tools can't. If I keep running |
Thanks very much for the update. If the camera is initially detected when the script starts and then disconnects, that could also be a symptom of insufficient power being provided to the camera by the USB system to enable the streams when the I look forward to your next report. Good luck! |
Ok so I actually found a cable and I am clueless now. If I use the USB C to USB A cable with an adapter I get a segmentation fault??? I also tried using a different adapter but it's the same result. Any ideas? |
What method did you use to install pyrealsense2, please? There is a pre-built package of pyrealsense2 for MacOS created by a RealSense community member that can be found at the link below. |
I tried to build it manually with the correct make flag and install it in my venv with pip. Both method didn't work. I installed the prebuild package in venv. Is it correct that the import is still |
Yes, usually the line is However, on some computers it is necessary to use |
I tried it still no device connected. |
Do you get the same message about no device connected if you try running other pyrealsense2 example scripts, such as the tutorial one here: |
@MartyG-RealSense |
Hi @Nyanziba Some Mac users have found that the realsense-viewer will sometimes be able to eventually start if the The current theory for the problems with using RealSense cameras on Mac is that it was caused by a change by Apple in their USB policy. It is discussed at #11815 (comment) My Intel RealSense colleagues welcome RealSense Mac users investigating the problems, discussing it amongst themselves and providing feedback that may help towards improving Mac compatibility. |
Hello,
I recently started using my D435 with my M2 Macbook. I had a lot of issues with the RealSense viewer ( #13640) but got it working through parallels which works for now since I actually just need pyrealsense. I tried running the default python test:
But after some time I get the following error:
I tried running
rs-enumerate-devices
but it says that there is no camera connected. If I runsystem_profiler SPUSBDataType
the output is:So the camera is connected and recognised by macOS.
I also tried running my script with sudo but then I get the following error:
I am running version 2.56.3 and build it manually. I think it's a problem with the permission but I could find anything online on how to resolve the issue. Has someone solved the problem?
The text was updated successfully, but these errors were encountered: