- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to integrate my camera into my existing Python3 project but there's no pre-complied library, only a Python2 version and Python2 will be obsolete in a few months, surely it makes sense to have Python3 supported?
I've tried to follow the build from source information in the link below but it makes no sense. Where is the "cmake-gui" I need to run....
https://github.com/IntelRealSense/librealsense/tree/development/wrappers/python
Intel please support a Python3 wrapper.... surely I'm not the first to request this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should add that the SDK says it supports Python3 contrary to what I've found....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To use Pyrealsense with Python 3, you may have to build from source, as the pre-made binary versions are designed for Python 2.7. A Pypi install for Python 3.7 is still a work-in-progress.
https://github.com/IntelRealSense/librealsense/issues/4515
I recalled that a RealSense user had recently suggested a method for installing Python 3 and managed to track down the link.
https://github.com/IntelRealSense/librealsense/issues/4598#issuecomment-519451484
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Marty.
Unfortunately this doesn't work for me. Having installed CMake it says it cannot find any instance of Visual Studio (when I have VS 2017 installed with the C++ compiler option). I can't spend ages debugging each step - I need to be able to develop with this camera quickly.
Do you know when the Python3 build will be supported/available? There must be a standalone set of Python3 binaries somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: I managed to get it all working but it was a waste of time when this binary could be shipped directly without having to install/generate 4 Gb of data and spend time working out how to compile stuff from scratch.
Anybody in the same position should try using a combo of the link in my first message and the second link in Marty's message. Ideally my first link should be updated with the missing information provided by the second link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm very glad you got it working!
Another user had the same thoughts that Python 3 binaries should be provided, since according to them, Python is actively encouraging people not to develop projects in Python 2 any more. It is not something that I have influence over, though you could express the wish as an official 'feature request' to the RealSense development team on the RealSense GitHub by visiting the link below and clicking the 'New Issue' button.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page