-
Notifications
You must be signed in to change notification settings - Fork 46
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
Can't install the library #10
Comments
Hello, you need to install librealsense before installing pyrealsense. In the And you shouldn't need sudo to install pyrealsense too. I am not developing on Mac Os, so my help will be limited.. |
Thank you. librealsense is not under the directory |
When I ran
When I put sudo and ran (after I copy pasted librealsense to
|
This error was because of the incorrect installation. After trying the same process as Linux installation here (editorhttps://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md#3rd-party-dependencies) at 5( provide a cmake file if you'd prefer to use your own favourite text ):
the error vanished. However, I'm still having a same issue as #11.
|
I guess on Mac the suffix to the lib file is not going to be so but dylib maybe ? you should change this line maybe:
|
I changed all '.so' to '.dylib' in init.py and utils.py. Then, I got the following error.
|
I updated the library for Mac OS, you should be able to install it now. Please update to the latest commit on master (v1.2) and test again. |
Thank you. I
|
You should import the library outside of the source directory, otherwise you won't see the compiled file. |
I see. I tried from the home directory and got the followings.
|
I'll advise you to use Anaconda's Python to start with. https://www.continuum.io/downloads
And install the library with:
Otherwise, I am not sure I'd be able to provide you with more help : ( |
Thank you very much! I tried Anaconda and I could successfully install, though I needed to add |
Also, I would leave the note to install OpenCV (cv2) on this Anaconda environment to run the sample file. It's based on here (http://www.pyimagesearch.com/2016/11/28/macos-install-opencv-3-and-python-2-7/), but need some modification.
|
Hello @kazoo-kmt, I am using ubuntu 16.04 to install realsense and get the similar problem. Can you show me the way of installing pyrealsense through anaconda? I tried many times but still get the error "pyrealsense/rsutilwrapper.c:1:10: fatal error: 'rs.h' file not found". Thanks. |
Hi @ljc19800331, I followed the instruction here (#10 (comment)) when installing with Anaconda. Can you find One thing you should notice is that |
When I tried to install (
sudo python setup.py install
), I got the followings. Do I need to copy rs.h by hand from librealsense?I'm using macOS 10.12.2
The text was updated successfully, but these errors were encountered: