[Liblas-devel] Problem to import liblas module in Python 2.7

Alessandro Montaghi alessandro.montaghi at gmail.com
Tue Mar 12 13:34:18 PDT 2013


 I am using libals from months with windows 64-bit and Python 2.7 but today
i got this message


*from liblas import file lasfile*

Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Python27\lib\site-packages\liblas\__init__.py", line 2, in <module>
    from core import get_version
  File "C:\Python27\lib\site-packages\liblas\core.py", line 138, in <module>
    las = ctypes.CDLL(os.path.join(local_dlls, lib_name))
  File "C:\Python27\Lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)WindowsError: [Error 193]
%1 is not a valid Win32 application



I unistalled liblas, reinstalled but nothing. I unistall all Python 2.7,
all module but nothing.


Thanks for your time because the use of libalas is essential for me

Thanks in advance
Alessandro

-- 
Alessandro Montaghi

just some stuff:

*"Python where we can, C++ where we must"*

*Top 10 Things That Computer Programmers Hate:*
     1. Waking Up Early
     2. Writing The F*cking Manual
     3. Not Drinking Coffee
     4. Reviewing Your Own Code 3 Months Later
     5. codes from other programmers without comments
     6. Error Checking
     7. (Not) Backing Up
     8. Debugging
     9. Leaving The House When Important Findings Come Up
    10. Mathematic or Physics Formulas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/liblas-devel/attachments/20130312/81c6c3b2/attachment.html>


More information about the Liblas-devel mailing list