Items with no label
3335 Discussions

Librealsense error (pyrealsense) SR300

AGarr3
Beginner
1,359 Views

Hi,

I can't import pyrealsense:

Python 2.7.6 (default, Oct 26 2016, 20:30:19)

[GCC 4.8.4] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import pyrealsense

/usr/local/lib/python2.7/dist-packages/pyrealsense/extlib.py:26: UserWarning: librealsense not found.

warnings.warn("librealsense not found.")

/usr/local/lib/python2.7/dist-packages/pyrealsense/extlib.py:33: UserWarning: rsutilwrapper not found.

warnings.warn("rsutilwrapper not found.")

>>>

My settings:

Ubuntu 14.04 LTS

Python 2.7.6

I installed https://github.com/IntelRealSense/librealsense# installation-guide librealsense and ran the examples. (without errors).

I installed dependencies: https://github.com/eliben/pycparser pycparser, http://cython.org/ Cython and http://www.numpy.org/ Numpy.

Finally I installed pyrealsense from source.

Thanks in advance

 

 

0 Kudos
2 Replies
MartyG
Honored Contributor III
421 Views

Pyrealsense's documentation says that it has been tested with Ubuntu 16.04 LTS. I could find no mention of past compatibility with 14.04 LTS. I wonder if that is the cause of your problems.

AGarr3
Beginner
421 Views

EDIT:

I can run examples only from folder /Downloads/librealsense-master/build/examples not in installed folder /usr/local/bin

Error:

cpp-tutorial-1-depth: error while loading shared libraries: librealsense.so.1: cannot open shared object file: No such file or directory

0 Kudos
Reply