2 Replies Latest reply on Jul 2, 2015 7:25 PM by ian diakov

    dataextract module does not load

    Ana Echeverri

      I installed the dataextract python library.  I get no error messages. However when I try to "import dataextract", the statement fails with the following message.  Can someone help me figure out what the problem is?

       

      import dataextract

       

       

      Traceback (most recent call last):

        File "<pyshell#0>", line 1, in <module>

          import dataextract

        File "C:\Python27\lib\site-packages\dataextract\__init__.py", line 15, in <module>

          from Base import *

        File "C:\Python27\lib\site-packages\dataextract\Base.py", line 17, in <module>

          from . import Types

        File "C:\Python27\lib\site-packages\dataextract\Types.py", line 17, in <module>

          tablib = libs.load_lib

        File "C:\Python27\lib\site-packages\dataextract\Libs.py", line 33, in load_lib

          self.lib = ctypes.cdll.LoadLibrary(self.lib_path)

        File "C:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary

          return self._dlltype(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