[Liblas-devel] problem with reinstalling liblas in Python

Andrej Kobler andrej.kobler at gozdis.si
Tue Sep 20 10:32:26 EDT 2011


Stanley,

 

There is a python.exe in c:\OSGeo4W\bin\, however it turns out that both
C:\Program Files\pythonxy\ and in C:\Python27\ lack any files or folders
named liblas. So it seems to me that after my second python installation the
OSGeo4W did not copy any liblas stuff into the python folders. 

 

Would it help to delete the c:\OSGeo4W folder and then run the
osgeo4w-setup.exe again?

 

Thanks,

 

Andrej

 

  _____  

From: Stanley Wong [mailto:s.wong at kucerainternational.com] 
Sent: 20. september 2011 14:49
To: Andrej Kobler
Cc: liblas-devel at lists.osgeo.org
Subject: Re: [Liblas-devel] problem with reinstalling liblas in Python

 


Andrej,

Please check if you have a python.exe in c:\OSGeo4W\bin\
If so, try this:
1. Open OSGeo4W shell, then type in 
2. c:\OSGeo4W\bin\python.exe <your_script>.py


Stanley



  _____  

From: "Andrej Kobler" <andrej.kobler at gozdis.si>
To: liblas-devel at lists.osgeo.org
Sent: Tuesday, September 20, 2011 5:27:01 AM
Subject: [Liblas-devel] problem with reinstalling liblas in Python

Hi,

 

I have a problem with reinstalling liblas in Python and any help would be
much appreciated.

 

Since I know next to nothing about compilers, the recipe how to install
liblas with Python (http://liblas.org/osgeo4w.html) was a life-saver for me.
However I somehow succeeded in ruining my liblas installation and I am
unable to recreate it, even by following the exact same steps as the first
time. Short description of the situation:

1.	In MS Windows XP I installed liblas on top of Pythonxy environment
(http://code.google.com/p/pythonxy/) following the recipe. At this point
liblas worked perfectly with Python. 
2.	Due to some unrelated problems I had to remove Python (using Windows
/ Add and remove programs). Unfortunately, after reinstalling Python and
then executing liblas command from OSGeo4W shell, Python could not find
liblas, reporting ImportError: No module named liblas. 
3.	I got the same response from Python even after downloading and
running the OSGeo4W installer again. 

 

Kind regards and big thanks for your help,

 

Andrej

 

------------------------------------------

Dr. Andrej Kobler

Slovenian Forestry Institute

Večna pot 2, SI - 1000 Ljubljana, Slovenia

Phone +386 1 2007835

 

 


_______________________________________________
Liblas-devel mailing list
Liblas-devel at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/liblas-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/liblas-devel/attachments/20110920/cb471841/attachment-0001.html


More information about the Liblas-devel mailing list