Installing libLAS on docker python - No such file or directory -
i'm working in python in docker, , need add package liblas.
i add simple line dockerfile, liblas is:
run pip install liblas docker seems able build image, when run python script line:
import liblas it gives error:
traceback (most recent call last): file "/src/test.py", line 6, in <module> import liblas file "/usr/local/lib/python2.7/dist-packages/liblas/__init__.py", line 2, in <module> .core import get_version file "/usr/local/lib/python2.7/dist-packages/liblas/core.py", line 158, in <module> las = ctypes.cdll(lib_name) file "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) oserror: liblas_c.so.3: cannot open shared object file: no such file or directory i don't know error message means. can please tell me how can use liblas in python on docker?
you can add run apt-get -y install liblas-c3 in dockerfile , docker build . install it.
Comments
Post a Comment