[Ncr-Python.in] Error in loading dll file python version 2.7.3 on win 7 64 bit OS

Kapil Gupta navkapil at gmail.com
Fri Jun 8 17:22:01 CEST 2012


Hi,
 I am working on win 7 system 64 bit  and installed (64 bit/32 bit) python
version 2.7.3 and having libsvm 3 package (available only in 32 bit)
after unpacking it, i copied libsvm.dll to windows and windows/system32
folder, after doing all thing when i run my code for libsvm .. it gives a
message-

Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART
================================
>>>

Traceback (most recent call last):
  File "E:\deepaksysbackup\libsvm-3.12\python\libsvr_realWorld_singleu.py",
line 1, in <module>
    from svm import *
  File "E:\deepaksysbackup\libsvm-3.12\python\svm.py", line 12, in <module>
    libsvm = CDLL(find_library('libsvm'))
  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
>>>



-- 
Regards
Kapil
~

http://email-stories.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ncr-python.in/attachments/20120608/5ad156f2/attachment.html>


More information about the Ncr-Python.in mailing list