<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'><br>Andrej,<br><br>Please check if you have a python.exe in c:\OSGeo4W\bin\<br>If so, try this:<br>1. Open OSGeo4W shell, then type in <br>2. c:\OSGeo4W\bin\python.exe <your_script>.py<br><br><br>Stanley<br><br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Andrej Kobler" <andrej.kobler@gozdis.si><br><b>To: </b>liblas-devel@lists.osgeo.org<br><b>Sent: </b>Tuesday, September 20, 2011 5:27:01 AM<br><b>Subject: </b>[Liblas-devel] problem with reinstalling liblas in Python<br><br>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
span.E-mailSignatureChar
        {font-family:Calibri;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1661494964;
        mso-list-type:hybrid;
        mso-list-template-ids:-961251052 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Hi,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">I have a problem with reinstalling liblas in Python and any
help would be much appreciated.</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Since I know next to nothing about compilers, the recipe how
to install liblas with Python (<a href="http://liblas.org/osgeo4w.html" title="blocked::http://liblas.org/osgeo4w.html" target="_blank">http://liblas.org/osgeo4w.html</a>)
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:</span></font></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">In MS Windows XP I installed
liblas on top of Pythonxy environment (<a href="http://code.google.com/p/pythonxy/" title="blocked::http://code.google.com/p/pythonxy/" target="_blank">http://code.google.com/p/pythonxy/</a>)
following the recipe. At this point liblas worked perfectly with Python.</span></font>
<font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"></span></font></li>
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">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. </span></font></li>
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I got the same response from
Python even after downloading and running the OSGeo4W installer again. </span></font></li>
</ol>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Kind regards and big thanks for your help,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Andrej</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"> </span></font></p>
<p class="MsoNormal"><font size="3" face="Courier New"><span style="font-size:12.0pt;
font-family:"Courier New"">------------------------------------------</span></font></p>
<p class="MsoAutoSig"><font size="2" face="Courier New"><span style="font-size:
11.0pt;font-family:"Courier New"">Dr. Andrej Kobler</span></font></p>
<p class="MsoAutoSig"><font size="2" face="Courier New"><span style="font-size:
11.0pt;font-family:"Courier New"">Slovenian Forestry Institute</span></font></p>
<p class="MsoAutoSig"><font size="2" face="Courier New"><span style="font-size:
11.0pt;font-family:"Courier New"">Večna pot 2, SI - 1000 Ljubljana,
Slovenia</span></font></p>
<p class="MsoAutoSig"><font size="2" face="Courier New"><span style="font-size:
11.0pt;font-family:"Courier New"">Phone +386 1 2007835</span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> </span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> </span></font></p>
</div>
<br>_______________________________________________<br>Liblas-devel mailing list<br>Liblas-devel@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/liblas-devel<br></div><br></div></body></html>