[Liblas-devel] installing liblas 1.6.0 for python 2.5

Howard Butler hobu.inc at gmail.com
Mon Dec 20 13:01:43 EST 2010


On Dec 20, 2010, at 11:19 AM, Sullivan, Alicia wrote:

> I am attempting to install liblas 1.6.0 for python and can’t seem to get it to work. In looking at the other versions of liblas for python 1.0-1.2 there is a windows install file for them and they work perfectly with my system. I can’t find an install file like that for 1.6.0, does anyone happen to have one or could direct me to it?

I produced all-in-one python packages for libLAS 1.0-1.2, but I have not yet done so for libLAS 1.6.  We're still in beta release with 1.6, and issuing a new release via PyPI might cause folks to upgrade when they don't want to.


> I have tried going through OSGeo4W and it doesn’t seem to work on my machine, the files down load and say they install but I cannot access the liblas modules through python.

You may be confusing the "OSGeo4W python" with your normal "system python".  These are distinct, and the OSGeo4W install only installs python bindings in the OSGeo4W python.  After you install the OSGeo4W libLAS python package, go to the OSGeo4W shell.  Once there, type 'liblas' to activate *another* new shell that sets the appropriate environment variables for using libLAS within OSGeo4W.  After that, you should be able to issue 'python' and then finally, 'import liblas' and see what you've got.

Hope this helps,

Howard



More information about the Liblas-devel mailing list