-
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
Prebuilt pyrealsense2 for macOS released #9687
Comments
Thanks so much @cansik for creating your brew-based prebuilt MacOs installation solution for pyrealsense2 and sharing it with other Mac users in the RealSense community! |
Thanks very much again @cansik for your installation guide. I will close this case, as the guide is accessible through web searching. |
sorry, i can not find requirements.txt |
it is doesn't work in Ventura |
how to solve the problem no device connected |
Hi @PaulRuan2023 Are you using MacOS Ventura, please? |
Yes |
There have been problems reported with using RealSense cameras with the latest Ventura OS. There were also problems with the preceding Monterey version but solutions were eventually found by RealSense Mac users. There is not a clear solution for Ventura problems yet, unfortunately. The best place to discuss this issue with other members of the RealSense Mac is likely to be at #11815 |
For many projects I (and others #6402, #5275, #3864) would like to use python and a realsense camera. Of course it is possible to build the librealsense with python bindings yourself, but an installation with pip would be so much easier.
Because of that, I created the repository cansik/pyrealsense2-macosx which contains a powershell script to automate the build process. For Big Sur and Catalina a Github Action creates pre-built wheel files and provides them in the releases.
Now the installation on macOS is as simple as that:
To use it as dependency in a
requirements.txt
, use the following lines:Currently Supported Versions
10.15
), macOS Big Sur (11.0
)3.6
,3.7
,3.8
,3.9
,3.10
I hope this helps others too and hopefully sooner or later Intel will include the macOS packages in their official pyrealsense2 PyPI repo.
The text was updated successfully, but these errors were encountered: