How to import liblas module in Python?

I am using liblas for python to read a .las file. When I enter:

from liblas import file

This gives me:

There is no module named liblas.

I already installed the las library path on the system, it lasinfoworks fine. Can someone tell me how to import las library in Python? By the way, I am using Ubuntu.

+4
source share
2 answers

It looks like liblas is installed incorrectly or the path is configured incorrectly. Try installing the liblas package using pip or easy_install.

$ easy_install liblas OR $ pip install liblas
+3
source

I had the same problem.

liblas , .

:

  • , liblas ( :/Users/blablabla/anaconda/lib/python2.7/site-packages/libLAS-1.6.0-py2.7.egg). 2 : EGG-INFO liblas.
  • - liblas () (site-packages).

Python liblas. .

+2

All Articles