1 Reply Latest reply on Jun 26, 2018 10:06 AM by Nathan Mannheimer

    Data extract API (python) and py2exe missing dlls

    Elaine Braun-Keller

      Using the example in the dataextract api download-   "makeorder.py", I'm trying to convert the program to an .exe via py2exe. Here's my setup.py:


      from distutils.core import setup

      import py2exe


          options={'py2exe': {

                  'packages': [],

                  'includes': ['dataextract','os', 'logging', 'yaml','pydrive'],




      I get the greatly feared error:


      Traceback (most recent call last):

        File "makeorder.py", line 12, in <module>

        File "dataextract\__init__.pyc", line 15, in <module>

        File "dataextract\Base.pyc", line 17, in <module>

        File "dataextract\StringUtils.pyc", line 17, in <module>

        File "dataextract\Libs.pyc", line 35, in load_lib

        File "ctypes\__init__.pyc", line 443, in LoadLibrary

        File "ctypes\__init__.pyc", line 365, in __init__

      WindowsError: [Error 126] The specified module could not be found


      Which usually means there's a missing dll. Can anyone help me figure out what dll I need to add to the dist folder?