You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install pyrealsense from source. I run python setup.py install and that works fine.
Using /Users/scaldara/.virtualenvs/pyrs2.7-steve/lib/python2.7/site-packages
Finished processing dependencies for pyrealsense==1.4
I then start up python and do an import pyrealsense as pyrs
It comes up with this error.
(pyrs2.7-steve) 7831c1c083a2:pyrealsense scaldara$ python
Python 2.7.13 (default, Dec 18 2016, 07:03:39)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import pyrealsense as pyrs
Traceback (most recent call last):
File "", line 1, in
File "pyrealsense/init.py", line 11, in
from .utils import pp, _check_error
File "pyrealsense/utils.py", line 7, in
from .importlib import lrs
File "pyrealsense/importlib.py", line 25, in
rsutilwrapper = ctypes.CDLL(_find_extension_name())
File "pyrealsense/importlib.py", line 23, in _find_extension_name
return os.path.join(dirname, f_name)
UnboundLocalError: local variable 'f_name' referenced before assignment
With a little bit of poking around the failure. It's looking for a filename that ends in ".so" and the directory that it is looking in is "pyrealsense"
The text was updated successfully, but these errors were encountered:
I'm trying to install pyrealsense from source. I run python setup.py install and that works fine.
Using /Users/scaldara/.virtualenvs/pyrs2.7-steve/lib/python2.7/site-packages
Finished processing dependencies for pyrealsense==1.4
I then start up python and do an import pyrealsense as pyrs
It comes up with this error.
(pyrs2.7-steve) 7831c1c083a2:pyrealsense scaldara$ python
Python 2.7.13 (default, Dec 18 2016, 07:03:39)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
With a little bit of poking around the failure. It's looking for a filename that ends in ".so" and the directory that it is looking in is "pyrealsense"
The text was updated successfully, but these errors were encountered: