Hi I am currently using pyinstaller 2.1 with python 2.7.

I am making modifications to "TI's MSP430 Tools (Python scripts and library)" which allows the update of the MSP430 firmware over USB. Specifically, I have made some modifications to the top-level script and when I run the script it works as expected.

When I generate the executable with pyinstaller, the generated executable is not working properly. There are no glaring errors that pop up. The firmware just is not programmed correctly. So I am assuming I am missing some sort of dependency?

What is the best way to track this down?

Below is the output of running pyinstaller from the command line (verbose enabled):

# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# C:\Python27\lib\site.pyc matches C:\Python27\lib\site.py
import site # precompiled from C:\Python27\lib\site.pyc
# C:\Python27\lib\os.pyc matches C:\Python27\lib\os.py
import os # precompiled from C:\Python27\lib\os.pyc
import errno # builtin
import nt # builtin
# C:\Python27\lib\ntpath.pyc matches C:\Python27\lib\ntpath.py
import ntpath # precompiled from C:\Python27\lib\ntpath.pyc
# C:\Python27\lib\stat.pyc matches C:\Python27\lib\stat.py
import stat # precompiled from C:\Python27\lib\stat.pyc
# C:\Python27\lib\genericpath.pyc matches C:\Python27\lib\genericpath.py
import genericpath # precompiled from C:\Python27\lib\genericpath.pyc
# C:\Python27\lib\warnings.pyc matches C:\Python27\lib\warnings.py
import warnings # precompiled from C:\Python27\lib\warnings.pyc
# C:\Python27\lib\linecache.pyc matches C:\Python27\lib\linecache.py
import linecache # precompiled from C:\Python27\lib\linecache.pyc
# C:\Python27\lib\types.pyc matches C:\Python27\lib\types.py
import types # precompiled from C:\Python27\lib\types.pyc
# C:\Python27\lib\UserDict.pyc matches C:\Python27\lib\UserDict.py
import UserDict # precompiled from C:\Python27\lib\UserDict.pyc
# C:\Python27\lib\_abcoll.pyc matches C:\Python27\lib\_abcoll.py
import _abcoll # precompiled from C:\Python27\lib\_abcoll.pyc
# C:\Python27\lib\abc.pyc matches C:\Python27\lib\abc.py
import abc # precompiled from C:\Python27\lib\abc.pyc
# C:\Python27\lib\_weakrefset.pyc matches C:\Python27\lib\_weakrefset.py
import _weakrefset # precompiled from C:\Python27\lib\_weakrefset.pyc
import _weakref # builtin
# C:\Python27\lib\copy_reg.pyc matches C:\Python27\lib\copy_reg.py
import copy_reg # precompiled from C:\Python27\lib\copy_reg.pyc
# C:\Python27\lib\traceback.pyc matches C:\Python27\lib\traceback.py
import traceback # precompiled from C:\Python27\lib\traceback.pyc
# C:\Python27\lib\sysconfig.pyc matches C:\Python27\lib\sysconfig.py
import sysconfig # precompiled from C:\Python27\lib\sysconfig.pyc
# C:\Python27\lib\re.pyc matches C:\Python27\lib\re.py
import re # precompiled from C:\Python27\lib\re.pyc
# C:\Python27\lib\sre_compile.pyc matches C:\Python27\lib\sre_compile.py
import sre_compile # precompiled from C:\Python27\lib\sre_compile.pyc
import _sre # builtin
# C:\Python27\lib\sre_parse.pyc matches C:\Python27\lib\sre_parse.py
import sre_parse # precompiled from C:\Python27\lib\sre_parse.pyc
# C:\Python27\lib\sre_constants.pyc matches C:\Python27\lib\sre_constants.py
import sre_constants # precompiled from C:\Python27\lib\sre_constants.pyc
# zipimport: found 150 names in C:\Python27\lib\site-packages\setuptools-6.1-py2.7.egg
# zipimport: found 25 names in C:\Python27\lib\site-packages\pywinusb-0.3.3-py2.7.egg
# zipimport: found 6 names in C:\Python27\lib\site-packages\distribute-0.7.3-py2.7.egg
# C:\Python27\lib\locale.pyc matches C:\Python27\lib\locale.py
import locale # precompiled from C:\Python27\lib\locale.pyc
import encodings # directory C:\Python27\lib\encodings
# C:\Python27\lib\encodings\__init__.pyc matches C:\Python27\lib\encodings\__init__.py
import encodings # precompiled from C:\Python27\lib\encodings\__init__.pyc
# C:\Python27\lib\codecs.pyc matches C:\Python27\lib\codecs.py
import codecs # precompiled from C:\Python27\lib\codecs.pyc
import _codecs # builtin
# C:\Python27\lib\encodings\aliases.pyc matches C:\Python27\lib\encodings\aliases.py
import encodings.aliases # precompiled from C:\Python27\lib\encodings\aliases.pyc
import operator # builtin
# C:\Python27\lib\functools.pyc matches C:\Python27\lib\functools.py
import functools # precompiled from C:\Python27\lib\functools.pyc
import _functools # builtin
import _locale # builtin
# C:\Python27\lib\encodings\cp1252.pyc matches C:\Python27\lib\encodings\cp1252.py
import encodings.cp1252 # precompiled from C:\Python27\lib\encodings\cp1252.pyc
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import PyInstaller # directory c:\pyinstaller-2.1\PyInstaller
# c:\pyinstaller-2.1\PyInstaller\__init__.pyc matches c:\pyinstaller-2.1\PyInstaller\__init__.py
import PyInstaller # precompiled from c:\pyinstaller-2.1\PyInstaller\__init__.pyc
import PyInstaller.lib # directory c:\pyinstaller-2.1\PyInstaller\lib
# c:\pyinstaller-2.1\PyInstaller\lib\__init__.pyc matches c:\pyinstaller-2.1\PyInstaller\lib\__init__.py
import PyInstaller.lib # precompiled from c:\pyinstaller-2.1\PyInstaller\lib\__init__.pyc
# c:\pyinstaller-2.1\PyInstaller\compat.pyc matches c:\pyinstaller-2.1\PyInstaller\compat.py
import PyInstaller.compat # precompiled from c:\pyinstaller-2.1\PyInstaller\compat.pyc
# C:\Python27\lib\dircache.pyc matches C:\Python27\lib\dircache.py
import dircache # precompiled from C:\Python27\lib\dircache.pyc
# C:\Python27\lib\platform.pyc matches C:\Python27\lib\platform.py
import platform # precompiled from C:\Python27\lib\platform.pyc
# C:\Python27\lib\string.pyc matches C:\Python27\lib\string.py
import string # precompiled from C:\Python27\lib\string.pyc
import strop # builtin
# C:\Python27\lib\subprocess.pyc matches C:\Python27\lib\subprocess.py
import subprocess # precompiled from C:\Python27\lib\subprocess.pyc
import gc # builtin
import time # builtin
# C:\Python27\lib\threading.pyc matches C:\Python27\lib\threading.py
import threading # precompiled from C:\Python27\lib\threading.pyc
import thread # builtin
# C:\Python27\lib\collections.pyc matches C:\Python27\lib\collections.py
import collections # precompiled from C:\Python27\lib\collections.pyc
import _collections # builtin
# C:\Python27\lib\keyword.pyc matches C:\Python27\lib\keyword.py
import keyword # precompiled from C:\Python27\lib\keyword.pyc
# C:\Python27\lib\heapq.pyc matches C:\Python27\lib\heapq.py
import heapq # precompiled from C:\Python27\lib\heapq.pyc
import itertools # builtin
import _heapq # builtin
import msvcrt # builtin
import _subprocess # builtin
import ctypes # directory C:\Python27\lib\ctypes
# C:\Python27\lib\ctypes\__init__.pyc matches C:\Python27\lib\ctypes\__init__.py
import ctypes # precompiled from C:\Python27\lib\ctypes\__init__.pyc
import _ctypes # dynamically loaded from C:\Python27\DLLs\_ctypes.pyd
# C:\Python27\lib\struct.pyc matches C:\Python27\lib\struct.py
import struct # precompiled from C:\Python27\lib\struct.pyc
import _struct # builtin
# C:\Python27\lib\ctypes\_endian.pyc matches C:\Python27\lib\ctypes\_endian.py
import ctypes._endian # precompiled from C:\Python27\lib\ctypes\_endian.pyc
# C:\Python27\lib\hashlib.pyc matches C:\Python27\lib\hashlib.py
import hashlib # precompiled from C:\Python27\lib\hashlib.pyc
import _hashlib # dynamically loaded from C:\Python27\DLLs\_hashlib.pyd
import PyInstaller.utils # directory c:\pyinstaller-2.1\PyInstaller\utils
# c:\pyinstaller-2.1\PyInstaller\utils\__init__.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\__init__.py
import PyInstaller.utils # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\__init__.pyc
# c:\pyinstaller-2.1\PyInstaller\utils\git.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\git.py
import PyInstaller.utils.git # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\git.pyc
# C:\Python27\lib\socket.pyc matches C:\Python27\lib\socket.py
import socket # precompiled from C:\Python27\lib\socket.pyc
import _socket # dynamically loaded from C:\Python27\DLLs\_socket.pyd
import _ssl # dynamically loaded from C:\Python27\DLLs\_ssl.pyd
import cStringIO # builtin
import win32api # dynamically loaded from C:\Python27\lib\site-packages\win32\win32api.pyd
# C:\Python27\lib\site-packages\win32\lib\win32con.pyc matches C:\Python27\lib\site-packages\win32\lib\win32con.py
import win32con # precompiled from C:\Python27\lib\site-packages\win32\lib\win32con.pyc
import _winreg # builtin
# c:\pyinstaller-2.1\PyInstaller\main.pyc matches c:\pyinstaller-2.1\PyInstaller\main.py
import PyInstaller.main # precompiled from c:\pyinstaller-2.1\PyInstaller\main.pyc
# C:\Python27\lib\optparse.pyc matches C:\Python27\lib\optparse.py
import optparse # precompiled from C:\Python27\lib\optparse.pyc
# C:\Python27\lib\textwrap.pyc matches C:\Python27\lib\textwrap.py
import textwrap # precompiled from C:\Python27\lib\textwrap.pyc
# C:\Python27\lib\gettext.pyc matches C:\Python27\lib\gettext.py
import gettext # precompiled from C:\Python27\lib\gettext.pyc
# C:\Python27\lib\copy.pyc matches C:\Python27\lib\copy.py
import copy # precompiled from C:\Python27\lib\copy.pyc
# C:\Python27\lib\weakref.pyc matches C:\Python27\lib\weakref.py
import weakref # precompiled from C:\Python27\lib\weakref.pyc
# c:\pyinstaller-2.1\PyInstaller\makespec.pyc matches c:\pyinstaller-2.1\PyInstaller\makespec.py
import PyInstaller.makespec # precompiled from c:\pyinstaller-2.1\PyInstaller\makespec.pyc
# c:\pyinstaller-2.1\PyInstaller\build.pyc matches c:\pyinstaller-2.1\PyInstaller\build.py
import PyInstaller.build # precompiled from c:\pyinstaller-2.1\PyInstaller\build.pyc
# C:\Python27\lib\glob.pyc matches C:\Python27\lib\glob.py
import glob # precompiled from C:\Python27\lib\glob.pyc
# C:\Python27\lib\fnmatch.pyc matches C:\Python27\lib\fnmatch.py
import fnmatch # precompiled from C:\Python27\lib\fnmatch.pyc
import imp # builtin
# C:\Python27\lib\pprint.pyc matches C:\Python27\lib\pprint.py
import pprint # precompiled from C:\Python27\lib\pprint.pyc
# C:\Python27\lib\py_compile.pyc matches C:\Python27\lib\py_compile.py
import py_compile # precompiled from C:\Python27\lib\py_compile.pyc
import marshal # builtin
# C:\Python27\lib\shutil.pyc matches C:\Python27\lib\shutil.py
import shutil # precompiled from C:\Python27\lib\shutil.pyc
# C:\Python27\lib\tempfile.pyc matches C:\Python27\lib\tempfile.py
import tempfile # precompiled from C:\Python27\lib\tempfile.pyc
# C:\Python27\lib\io.pyc matches C:\Python27\lib\io.py
import io # precompiled from C:\Python27\lib\io.pyc
import _io # builtin
# C:\Python27\lib\random.pyc matches C:\Python27\lib\random.py
import random # precompiled from C:\Python27\lib\random.pyc
# C:\Python27\lib\__future__.pyc matches C:\Python27\lib\__future__.py
import __future__ # precompiled from C:\Python27\lib\__future__.pyc
import math # builtin
import binascii # builtin
import _random # builtin
# C:\Python27\lib\UserList.pyc matches C:\Python27\lib\UserList.py
import UserList # precompiled from C:\Python27\lib\UserList.pyc
import PyInstaller.loader # directory c:\pyinstaller-2.1\PyInstaller\loader
# c:\pyinstaller-2.1\PyInstaller\loader\__init__.pyc matches c:\pyinstaller-2.1\PyInstaller\loader\__init__.py
import PyInstaller.loader # precompiled from c:\pyinstaller-2.1\PyInstaller\loader\__init__.pyc
# c:\pyinstaller-2.1\PyInstaller\loader\pyi_archive.pyc matches c:\pyinstaller-2.1\PyInstaller\loader\pyi_archive.py
import PyInstaller.loader.pyi_archive # precompiled from c:\pyinstaller-2.1\PyInstaller\loader\pyi_archive.pyc
# c:\pyinstaller-2.1\PyInstaller\loader\pyi_carchive.pyc matches c:\pyinstaller-2.1\PyInstaller\loader\pyi_carchive.py
import PyInstaller.loader.pyi_carchive # precompiled from c:\pyinstaller-2.1\PyInstaller\loader\pyi_carchive.pyc
import zlib # builtin
import PyInstaller.depend # directory c:\pyinstaller-2.1\PyInstaller\depend
# c:\pyinstaller-2.1\PyInstaller\depend\__init__.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\__init__.py
import PyInstaller.depend # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\__init__.pyc
# c:\pyinstaller-2.1\PyInstaller\depend\imptracker.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\imptracker.py
import PyInstaller.depend.imptracker # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\imptracker.pyc
import PyInstaller.hooks # directory c:\pyinstaller-2.1\PyInstaller\hooks
# c:\pyinstaller-2.1\PyInstaller\hooks\__init__.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\__init__.py
import PyInstaller.hooks # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\__init__.pyc
# c:\pyinstaller-2.1\PyInstaller\log.pyc matches c:\pyinstaller-2.1\PyInstaller\log.py
import PyInstaller.log # precompiled from c:\pyinstaller-2.1\PyInstaller\log.pyc
import logging # directory C:\Python27\lib\logging
# C:\Python27\lib\logging\__init__.pyc matches C:\Python27\lib\logging\__init__.py
import logging # precompiled from C:\Python27\lib\logging\__init__.pyc
# C:\Python27\lib\atexit.pyc matches C:\Python27\lib\atexit.py
import atexit # precompiled from C:\Python27\lib\atexit.pyc
# c:\pyinstaller-2.1\PyInstaller\depend\owner.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\owner.py
import PyInstaller.depend.owner # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\owner.pyc
# c:\pyinstaller-2.1\PyInstaller\depend\impdirector.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\impdirector.py
import PyInstaller.depend.impdirector # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\impdirector.pyc
# c:\pyinstaller-2.1\PyInstaller\depend\modules.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\modules.py
import PyInstaller.depend.modules # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\modules.pyc
# c:\pyinstaller-2.1\PyInstaller\depend\utils.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\utils.py
import PyInstaller.depend.utils # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\utils.pyc
# C:\Python27\lib\dis.pyc matches C:\Python27\lib\dis.py
import dis # precompiled from C:\Python27\lib\dis.pyc
# C:\Python27\lib\opcode.pyc matches C:\Python27\lib\opcode.py
import opcode # precompiled from C:\Python27\lib\opcode.pyc
# c:\pyinstaller-2.1\PyInstaller\bindepend.pyc matches c:\pyinstaller-2.1\PyInstaller\bindepend.py
import PyInstaller.bindepend # precompiled from c:\pyinstaller-2.1\PyInstaller\bindepend.pyc
# C:\Python27\lib\zipfile.pyc matches C:\Python27\lib\zipfile.py
import zipfile # precompiled from C:\Python27\lib\zipfile.pyc
# c:\pyinstaller-2.1\PyInstaller\depend\dylib.pyc matches c:\pyinstaller-2.1\PyInstaller\depend\dylib.py
import PyInstaller.depend.dylib # precompiled from c:\pyinstaller-2.1\PyInstaller\depend\dylib.pyc
# c:\pyinstaller-2.1\PyInstaller\utils\winutils.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\winutils.py
import PyInstaller.utils.winutils # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\winutils.pyc
# C:\Python27\lib\site-packages\win32\lib\pywintypes.pyc matches C:\Python27\lib\site-packages\win32\lib\pywintypes.py
import pywintypes # precompiled from C:\Python27\lib\site-packages\win32\lib\pywintypes.pyc
import _win32sysloader # dynamically loaded from C:\Python27\lib\site-packages\win32\_win32sysloader.pyd
import pywintypes # dynamically loaded from C:\Windows\system32\pywintypes27.dll
# c:\pyinstaller-2.1\PyInstaller\utils\winmanifest.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\winmanifest.py
import PyInstaller.utils.winmanifest # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\winmanifest.pyc
import xml # directory C:\Python27\lib\xml
# C:\Python27\lib\xml\__init__.pyc matches C:\Python27\lib\xml\__init__.py
import xml # precompiled from C:\Python27\lib\xml\__init__.pyc
import xml.dom # directory C:\Python27\lib\xml\dom
# C:\Python27\lib\xml\dom\__init__.pyc matches C:\Python27\lib\xml\dom\__init__.py
import xml.dom # precompiled from C:\Python27\lib\xml\dom\__init__.pyc
# C:\Python27\lib\xml\dom\domreg.pyc matches C:\Python27\lib\xml\dom\domreg.py
import xml.dom.domreg # precompiled from C:\Python27\lib\xml\dom\domreg.pyc
# C:\Python27\lib\xml\dom\minicompat.pyc matches C:\Python27\lib\xml\dom\minicompat.py
import xml.dom.minicompat # precompiled from C:\Python27\lib\xml\dom\minicompat.pyc
# C:\Python27\lib\xml\dom\minidom.pyc matches C:\Python27\lib\xml\dom\minidom.py
import xml.dom.minidom # precompiled from C:\Python27\lib\xml\dom\minidom.pyc
# C:\Python27\lib\xml\dom\xmlbuilder.pyc matches C:\Python27\lib\xml\dom\xmlbuilder.py
import xml.dom.xmlbuilder # precompiled from C:\Python27\lib\xml\dom\xmlbuilder.pyc
# C:\Python27\lib\xml\dom\NodeFilter.pyc matches C:\Python27\lib\xml\dom\NodeFilter.py
import xml.dom.NodeFilter # precompiled from C:\Python27\lib\xml\dom\NodeFilter.pyc
# c:\pyinstaller-2.1\PyInstaller\utils\winresource.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\winresource.py
import PyInstaller.utils.winresource # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\winresource.pyc
# c:\pyinstaller-2.1\PyInstaller\utils\misc.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\misc.py
import PyInstaller.utils.misc # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\misc.pyc
86 INFO: wrote C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\TargetGUI.spec
# c:\pyinstaller-2.1\PyInstaller\configure.pyc matches c:\pyinstaller-2.1\PyInstaller\configure.py
import PyInstaller.configure # precompiled from c:\pyinstaller-2.1\PyInstaller\configure.pyc
# C:\Python27\lib\inspect.pyc matches C:\Python27\lib\inspect.py
import inspect # precompiled from C:\Python27\lib\inspect.pyc
# C:\Python27\lib\tokenize.pyc matches C:\Python27\lib\tokenize.py
import tokenize # precompiled from C:\Python27\lib\tokenize.pyc
# C:\Python27\lib\token.pyc matches C:\Python27\lib\token.py
import token # precompiled from C:\Python27\lib\token.pyc
114 INFO: Testing for ability to set icons, version resources...
# c:\pyinstaller-2.1\PyInstaller\utils\icon.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\icon.py
import PyInstaller.utils.icon # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\icon.pyc
# c:\pyinstaller-2.1\PyInstaller\utils\versioninfo.pyc matches c:\pyinstaller-2.1\PyInstaller\utils\versioninfo.py
import PyInstaller.utils.versioninfo # precompiled from c:\pyinstaller-2.1\PyInstaller\utils\versioninfo.pyc
# c:\pyinstaller-2.1\PyInstaller\lib\pefile.pyc matches c:\pyinstaller-2.1\PyInstaller\lib\pefile.py
import pefile # precompiled from c:\pyinstaller-2.1\PyInstaller\lib\pefile.pyc
import array # builtin
import mmap # builtin
167 INFO: ... resource update available
172 INFO: UPX is not available.
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-os.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-os.py
import PyInstaller.hooks.hook-os # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-os.pyc
209 INFO: Processing hook hook-os
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-time.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-time.py
import PyInstaller.hooks.hook-time # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-time.pyc
411 INFO: Processing hook hook-time
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-cPickle.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-cPickle.py
import PyInstaller.hooks.hook-cPickle # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-cPickle.pyc
419 INFO: Processing hook hook-cPickle
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-_sre.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-_sre.py
import PyInstaller.hooks.hook-_sre # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-_sre.pyc
519 INFO: Processing hook hook-_sre
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-cStringIO.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-cStringIO.py

import PyInstaller.hooks.hook-cStringIO # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-cStringIO.pyc
719 INFO: Processing hook hook-cStringIO
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-encodings.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-encodings.py

import PyInstaller.hooks.hook-encodings # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-encodings.pyc
# C:\Python27\lib\posixpath.pyc matches C:\Python27\lib\posixpath.py
import posixpath # precompiled from C:\Python27\lib\posixpath.pyc
859 INFO: Processing hook hook-encodings
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-codecs.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-codecs.py
import PyInstaller.hooks.hook-codecs # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-codecs.pyc
880 INFO: Processing hook hook-codecs
# C:\Python27\lib\xml\dom\expatbuilder.pyc matches C:\Python27\lib\xml\dom\expatbuilder.py
import xml.dom.expatbuilder # precompiled from C:\Python27\lib\xml\dom\expatbuilder.pyc
import xml.parsers # directory C:\Python27\lib\xml\parsers
# C:\Python27\lib\xml\parsers\__init__.pyc matches C:\Python27\lib\xml\parsers\__init__.py
import xml.parsers # precompiled from C:\Python27\lib\xml\parsers\__init__.pyc
# C:\Python27\lib\xml\parsers\expat.pyc matches C:\Python27\lib\xml\parsers\expat.py
import xml.parsers.expat # precompiled from C:\Python27\lib\xml\parsers\expat.pyc
import pyexpat # dynamically loaded from C:\Python27\DLLs\pyexpat.pyd
1500 INFO: Extending PYTHONPATH with C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader

1500 INFO: checking Analysis
1501 INFO: building because TargetGUI.py changed
1502 INFO: running Analysis out00-Analysis.toc
# C:\Python27\lib\encodings\cp437.pyc matches C:\Python27\lib\encodings\cp437.py
import encodings.cp437 # precompiled from C:\Python27\lib\encodings\cp437.pyc
1504 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable
1591 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none ...
1592 INFO: Found manifest C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6a
c711f91.manifest
1594 INFO: Searching for file msvcr90.dll
1594 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcr9
0.dll
1596 INFO: Searching for file msvcp90.dll
1597 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcp9
0.dll
1600 INFO: Searching for file msvcm90.dll
1601 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcm9
0.dll
# C:\Python27\lib\encodings\mbcs.pyc matches C:\Python27\lib\encodings\mbcs.py
import encodings.mbcs # precompiled from C:\Python27\lib\encodings\mbcs.pyc
# c:\pyinstaller-2.1\PyInstaller\lib\pefile.pyc matches c:\pyinstaller-2.1\PyInstaller\lib\pefile.py
import PyInstaller.lib.pefile # precompiled from c:\pyinstaller-2.1\PyInstaller\lib\pefile.pyc
import distutils # directory C:\Python27\lib\distutils
# C:\Python27\lib\distutils\__init__.pyc matches C:\Python27\lib\distutils\__init__.py
import distutils # precompiled from C:\Python27\lib\distutils\__init__.pyc
# C:\Python27\lib\distutils\sysconfig.pyc matches C:\Python27\lib\distutils\sysconfig.py
import distutils.sysconfig # precompiled from C:\Python27\lib\distutils\sysconfig.pyc
# C:\Python27\lib\distutils\errors.pyc matches C:\Python27\lib\distutils\errors.py
import distutils.errors # precompiled from C:\Python27\lib\distutils\errors.pyc
1703 INFO: Analyzing c:\pyinstaller-2.1\PyInstaller\loader\_pyi_bootstrap.py
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-os.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-os.py
import PyInstaller.hooks.hook-os # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-os.pyc
1726 INFO: Processing hook hook-os
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-site.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-site.py
import PyInstaller.hooks.hook-site # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-site.pyc
1752 INFO: Processing hook hook-site
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-encodings.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-encodings.py

import PyInstaller.hooks.hook-encodings # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-encodings.pyc
1781 INFO: Processing hook hook-encodings
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-time.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-time.py
import PyInstaller.hooks.hook-time # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-time.pyc
1988 INFO: Processing hook hook-time
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-cPickle.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-cPickle.py
import PyInstaller.hooks.hook-cPickle # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-cPickle.pyc
1996 INFO: Processing hook hook-cPickle
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-_sre.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-_sre.py
import PyInstaller.hooks.hook-_sre # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-_sre.pyc
2106 INFO: Processing hook hook-_sre
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-cStringIO.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-cStringIO.py

import PyInstaller.hooks.hook-cStringIO # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-cStringIO.pyc
2329 INFO: Processing hook hook-cStringIO
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-codecs.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-codecs.py
import PyInstaller.hooks.hook-codecs # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-codecs.pyc
2540 INFO: Processing hook hook-codecs
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-pydoc.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-pydoc.py
import PyInstaller.hooks.hook-pydoc # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-pydoc.pyc
3229 INFO: Processing hook hook-pydoc
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-email.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-email.py
import PyInstaller.hooks.hook-email # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-email.pyc
import email # directory C:\Python27\lib\email
# C:\Python27\lib\email\__init__.pyc matches C:\Python27\lib\email\__init__.py
import email # precompiled from C:\Python27\lib\email\__init__.pyc
import email.mime # directory C:\Python27\lib\email\mime
# C:\Python27\lib\email\mime\__init__.pyc matches C:\Python27\lib\email\mime\__init__.py
import email.mime # precompiled from C:\Python27\lib\email\mime\__init__.pyc
3478 INFO: Processing hook hook-email
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-httplib.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-httplib.py
import PyInstaller.hooks.hook-httplib # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-httplib.pyc
3587 INFO: Processing hook hook-httplib
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-email.message.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-email.me
ssage.py
import PyInstaller.hooks.hook-email.message # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-email.message.p
yc
3643 INFO: Processing hook hook-email.message
# C:\Python27\lib\ctypes\util.pyc matches C:\Python27\lib\ctypes\util.py
import ctypes.util # precompiled from C:\Python27\lib\ctypes\util.pyc
3819 INFO: Analyzing c:\pyinstaller-2.1\PyInstaller\loader\pyi_importers.py
3948 INFO: Analyzing c:\pyinstaller-2.1\PyInstaller\loader\pyi_archive.py
4060 INFO: Analyzing c:\pyinstaller-2.1\PyInstaller\loader\pyi_carchive.py
4171 INFO: Analyzing c:\pyinstaller-2.1\PyInstaller\loader\pyi_os_path.py
4192 INFO: Analyzing TargetGUI.py
TargetGUI.py: inconsistent use of tabs and spaces in indentation
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32com.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32com.py
import PyInstaller.hooks.hook-win32com # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32com.pyc
4319 INFO: Processing hook hook-win32com
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32com.client.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32c
om.client.py
import PyInstaller.hooks.hook-win32com.client # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32com.clie
nt.pyc
4331 INFO: Processing hook hook-win32com.client
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-_tkinter.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-_tkinter.py
import PyInstaller.hooks.hook-_tkinter # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-_tkinter.pyc
# c:\pyinstaller-2.1\PyInstaller\hooks\hookutils.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hookutils.py
import PyInstaller.hooks.hookutils # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hookutils.pyc
4380 INFO: Processing hook hook-_tkinter
4644 INFO: checking Tree
4746 INFO: checking Tree
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-parser.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-parser.py
import PyInstaller.hooks.hook-parser # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-parser.pyc
5006 INFO: Processing hook hook-parser
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-distutils.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-distutils.py

import PyInstaller.hooks.hook-distutils # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-distutils.pyc
5015 INFO: Processing hook hook-distutils
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-sysconfig.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-sysconfig.py

import PyInstaller.hooks.hook-sysconfig # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-sysconfig.pyc
5047 INFO: Processing hook hook-sysconfig
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-xml.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-xml.py
import PyInstaller.hooks.hook-xml # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-xml.pyc
5232 INFO: Processing hook hook-xml
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-xml.sax.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-xml.sax.py
import PyInstaller.hooks.hook-xml.sax # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-xml.sax.pyc
5391 INFO: Processing hook hook-xml.sax
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-pyexpat.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-pyexpat.py
import PyInstaller.hooks.hook-pyexpat # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-pyexpat.pyc
5537 INFO: Processing hook hook-pyexpat
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-pythoncom.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-pythoncom.py

import PyInstaller.hooks.hook-pythoncom # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-pythoncom.pyc
5943 INFO: Processing hook hook-pythoncom
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-pywintypes.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-pywintypes.
py
import PyInstaller.hooks.hook-pywintypes # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-pywintypes.pyc
6096 INFO: Processing hook hook-pywintypes
# c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32ui.pyc matches c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32ui.py
import PyInstaller.hooks.hook-win32ui # precompiled from c:\pyinstaller-2.1\PyInstaller\hooks\hook-win32ui.pyc
6352 INFO: Processing hook hook-win32ui
6456 INFO: Hidden import 'codecs' has been found otherwise
6457 INFO: Hidden import 'encodings' has been found otherwise
6457 INFO: Looking for run-time hooks
6459 INFO: Analyzing rthook c:\pyinstaller-2.1\PyInstaller\loader\rthooks\pyi_rth_pkgres.py
6879 INFO: Analyzing rthook c:\pyinstaller-2.1\PyInstaller\loader\rthooks\pyi_rth_Tkinter.py
6979 INFO: Analyzing rthook c:\pyinstaller-2.1\PyInstaller\loader\rthooks\pyi_rth_win32comgenpy.py
7423 INFO: Adding Microsoft.VC90.MFC to dependent assemblies of final executable
7506 INFO: Searching for assembly x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.21022.8_none ...
7507 INFO: Found manifest C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_b81d038aa
f540e86.manifest
7509 INFO: Searching for file mfc90.dll
7510 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_b81d038aaf540e86\mfc90.
dll
7511 INFO: Searching for file mfc90u.dll
7512 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_b81d038aaf540e86\mfc90u
.dll
7515 INFO: Searching for file mfcm90.dll
7516 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_b81d038aaf540e86\mfcm90
.dll
7519 INFO: Searching for file mfcm90u.dll
7520 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.21022.8_none_b81d038aaf540e86\mfcm90
u.dll
8182 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
# C:\Python27\lib\StringIO.pyc matches C:\Python27\lib\StringIO.py
import StringIO # precompiled from C:\Python27\lib\StringIO.pyc
# C:\Python27\lib\encodings\utf_8.pyc matches C:\Python27\lib\encodings\utf_8.py
import encodings.utf_8 # precompiled from C:\Python27\lib\encodings\utf_8.pyc
8283 INFO: Using Python library C:\Windows\system32\python27.dll
8496 INFO: C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\build\TargetGUI\out00-Ana
lysis.toc no change!
8505 INFO: checking PYZ
8580 INFO: checking PKG
8583 INFO: building because C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\build\Ta
rgetGUI\TargetGUI.exe.manifest changed
8583 INFO: building PKG (CArchive) out00-PKG.pkg
8611 INFO: checking EXE
8612 INFO: rebuilding out00-EXE.toc because pkg is more recent
8613 INFO: building EXE from out00-EXE.toc
8616 INFO: Appending archive to EXE C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\
build\TargetGUI\TargetGUI.exe
8655 INFO: checking COLLECT
Error: The output directory "C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\dist\Ta
rgetGUI" is not empty. Please remove all its contents or use the -y option (remove output directory without confirmation
).
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] random
# cleanup[1] zipimport
# cleanup[1] PyInstaller.hooks.hook-pywintypes
# cleanup[1] PyInstaller.hooks.hook-sysconfig
# cleanup[1] PyInstaller.hooks.hook-parser
# cleanup[1] _winreg
# cleanup[1] PyInstaller.hooks.hook-xml.sax
# cleanup[1] PyInstaller.hooks.hook-os
# cleanup[1] StringIO
# cleanup[1] PyInstaller.hooks.hook-_tkinter
# cleanup[1] PyInstaller.hooks.hook-httplib
# cleanup[1] PyInstaller.hooks.hook-_sre
# cleanup[1] PyInstaller.hooks.hook-pythoncom
# cleanup[1] PyInstaller.hooks.hook-win32ui
# cleanup[1] PyInstaller.hooks.hook-codecs
# cleanup[1] _ctypes
# cleanup[1] PyInstaller.hooks.hook-time
# cleanup[1] _functools
# cleanup[1] _locale
# cleanup[1] socket
# cleanup[1] PyInstaller.hooks.hook-win32com.client
# cleanup[1] itertools
# cleanup[1] opcode
# cleanup[1] __future__
# cleanup[1] _collections
# cleanup[1] PyInstaller.hooks.hook-encodings
# cleanup[1] _heapq
# cleanup[1] posixpath
# cleanup[1] _socket
# cleanup[1] sre_constants
# cleanup[1] PyInstaller.hooks.hook-pyexpat
# cleanup[1] PyInstaller.hooks.hook-email
# cleanup[1] _warnings
# cleanup[1] _codecs
# cleanup[1] PyInstaller.hooks.hook-site
# cleanup[1] pefile
# cleanup[1] _struct
# cleanup[1] _win32sysloader
# cleanup[1] keyword
# cleanup[1] _random
# cleanup[1] site
# cleanup[1] pyexpat
# cleanup[1] strop
# cleanup[1] PyInstaller.hooks.hook-email.message
# cleanup[1] gettext
# cleanup[1] PyInstaller.hooks.hook-pydoc
# cleanup[1] _ssl
# cleanup[1] win32con
# cleanup[1] PyInstaller.hooks.hook-xml
# cleanup[1] PyInstaller.hooks.hook-distutils
# cleanup[1] PyInstaller.hooks.hook-cStringIO
# cleanup[1] PyInstaller.hooks.hook-cPickle
# cleanup[1] _weakref
# cleanup[1] _weakrefset
# cleanup[1] token
# cleanup[1] PyInstaller.hooks.hook-win32com
# cleanup[1] sysconfig
# cleanup[1] locale
# cleanup[1] encodings
# cleanup[1] encodings.utf_8
# cleanup[1] distutils
# cleanup[1] operator
# cleanup[1] encodings.cp437
# cleanup[1] encodings.cp1252
# cleanup[1] encodings.aliases
# cleanup[1] encodings.mbcs
# cleanup[1] distutils.errors
# cleanup[1] functools
# cleanup[1] distutils.sysconfig
# cleanup[2] heapq
# cleanup[2] PyInstaller.depend.modules
# cleanup[2] ctypes.util
# cleanup[2] subprocess
# cleanup[2] PyInstaller.utils.icon
# cleanup[2] gc
# cleanup[2] ctypes._endian
# cleanup[2] msvcrt
# cleanup[2] xml
# cleanup[2] struct
# cleanup[2] tempfile
# cleanup[2] mmap
# cleanup[2] pprint
# cleanup[2] pyexpat.errors
# cleanup[2] platform
# cleanup[2] collections
# cleanup[2] string
# cleanup[2] xml.dom.expatbuilder
# cleanup[2] PyInstaller.lib.pefile
# cleanup[2] zipfile
# cleanup[2] UserList
# cleanup[2] PyInstaller.depend.owner
# cleanup[2] signal
# cleanup[2] xml.parsers
# cleanup[2] threading
# cleanup[2] pyexpat.model
# cleanup[2] dis
# cleanup[2] cStringIO
# cleanup[2] xml.dom.minidom
# cleanup[2] xml.parsers.expat
# cleanup[2] atexit
# cleanup[2] abc
# cleanup[2] dircache
# cleanup[2] py_compile
# cleanup[2] _subprocess
# cleanup[2] PyInstaller.depend
# cleanup[2] re
# cleanup[2] ntpath
# cleanup[2] PyInstaller.compat
# cleanup[2] PyInstaller.depend.utils
# cleanup[2] email
# cleanup[2] math
# cleanup[2] optparse
# cleanup[2] UserDict
# cleanup[2] inspect
# cleanup[2] fnmatch
# cleanup[2] email.mime
# cleanup[2] codecs
# cleanup[2] logging
# cleanup[2] thread
# cleanup[2] PyInstaller.utils
# cleanup[2] PyInstaller.utils.versioninfo
# cleanup[2] traceback
# cleanup[2] weakref
# cleanup[2] binascii
# cleanup[2] ctypes
# cleanup[2] xml.dom.xmlbuilder
# cleanup[2] os
# cleanup[2] marshal
# cleanup[2] win32api
# cleanup[2] PyInstaller.utils.git
# cleanup[2] xml.dom
# cleanup[2] _sre
# cleanup[2] PyInstaller.bindepend
# cleanup[2] xml.dom.domreg
# cleanup[2] PyInstaller
# cleanup[2] array
# cleanup[2] PyInstaller.depend.impdirector
# cleanup[2] imp
# cleanup[2] errno
# cleanup[2] PyInstaller.build
# cleanup[2] os.path
# cleanup[2] tokenize
# cleanup[2] PyInstaller.hooks
# cleanup[2] xml.dom.NodeFilter
# cleanup[2] pywintypes
# cleanup[2] copy
# cleanup[2] hashlib
# cleanup[2] PyInstaller.loader.pyi_archive
# cleanup[2] zlib
# cleanup[2] PyInstaller.main
# cleanup[2] exceptions
# cleanup[2] sre_parse
# cleanup[2] PyInstaller.lib
# cleanup[2] copy_reg
# cleanup[2] sre_compile
# cleanup[2] _hashlib
# cleanup[2] PyInstaller.utils.winutils
# cleanup[2] PyInstaller.hooks.hookutils
# cleanup[2] PyInstaller.depend.imptracker
# cleanup[2] io
# cleanup[2] PyInstaller.loader.pyi_carchive
# cleanup[2] PyInstaller.utils.misc
# cleanup[2] shutil
# cleanup[2] PyInstaller.loader
# cleanup[2] linecache
# cleanup[2] _abcoll
# cleanup[2] xml.dom.minicompat
# cleanup[2] PyInstaller.depend.dylib
# cleanup[2] nt
# cleanup[2] PyInstaller.utils.winresource
# cleanup[2] genericpath
# cleanup[2] stat
# cleanup[2] warnings
# cleanup[2] glob
# cleanup[2] textwrap
# cleanup[2] PyInstaller.utils.winmanifest
# cleanup[2] PyInstaller.configure
# cleanup[2] types
# cleanup[2] PyInstaller.log
# cleanup[2] _io
# cleanup[2] time
# cleanup[2] PyInstaller.makespec
# cleanup sys
# cleanup __builtin__
# cleanup ints: 1151 unfreed ints
# cleanup floats: 32 unfreed floats

The contents of the warnings.txt file in the generated build folder are:

W: no module named org (delayed import by xml.sax)
W: no module named termios (top-level import by tty)
W: no module named _dummy_threading (top-level import by dummy_threading)
W: no module named grp (top-level import by shutil)
W: no module named cl (delayed, conditional import by aifc)
W: no module named _markerlib.compile (delayed import by pkg_resources)
W: no module named winreg (conditional import by pywinusb.hid.core)
W: no module named posix (conditional import by __main__)
W: no module named pwd (delayed, conditional import by posixpath)
W: no module named pwd (delayed, conditional import by distutils.util)
W: no module named org (top-level import by pickle)
W: no module named Carbon (delayed import by plistlib)
W: no module named ctypes.Structure (top-level import by pywinusb.hid.winapi)
W: no module named fcntl (conditional import by subprocess)
W: no module named fcntl (delayed import by serial.serialposix)
W: no module named EasyDialogs.AskPassword (conditional import by getpass)
W: no module named ctypes.c_long (top-level import by pywinusb.hid.winapi)
W: no module named ctypes.c_int (top-level import by pywinusb.hid.wnd_hook_mixin)
W: no module named termios (top-level import by serial.serialposix)
W: no module named _sysconfigdata (delayed import by sysconfig)
W: no module named pwd (top-level import by shutil)
W: no module named MacOS (delayed import by platform)
W: no module named ctypes.c_long (top-level import by pywinusb.hid.wnd_hook_mixin)
W: no module named ctypes.sizeof (top-level import by pywinusb.hid.winapi)
W: no module named System (top-level import by serial.serialcli)
W: no module named pwd (top-level import by tarfile)
W: no module named readline (delayed import by pdb)
W: no module named _scproxy (conditional import by urllib)
W: no module named _sysconfigdata (delayed import by distutils.sysconfig)
W: no module named fcntl (top-level import by serial.serialposix)
W: no module named ctypes.c_ushort (top-level import by pywinusb.hid.winapi)
W: no module named pwd (delayed import by getpass)
W: no module named logging.Handler (top-level import by __main__)
W: no module named clr (top-level import by serial.serialcli)
W: no module named ctypes.c_wchar (top-level import by pywinusb.hid.core)
W: no module named termios (top-level import by getpass)
W: no module named grp (top-level import by tarfile)
W: no module named gestalt (delayed import by platform)
W: no module named ctypes.create_unicode_buffer (top-level import by pywinusb.hid.core)
W: no module named org (top-level import by copy)
W: no module named fcntl (top-level import by tempfile)
W: no module named ctypes._SimpleCData (top-level import by ctypes.wintypes)
W: no module named ctypes.c_ubyte (top-level import by pywinusb.hid.winapi)
W: no module named ctypes.c_ulong (top-level import by pywinusb.hid.core)
W: no module named readline (delayed, conditional import by cmd)
W: no module named ctypes.c_ubyte (top-level import by pywinusb.hid.core)
W: no module named ctypes.byref (top-level import by pywinusb.hid.winapi)
W: no module named java (delayed import by platform)
W: no module named cl (delayed import by aifc)
W: no module named FCNTL (conditional import by serial.serialposix)
W: no module named xmlparse (top-level import by pyexpat)
W: no module named posix (conditional import by pyi_os_path)
W: no module named ctypes.POINTER (top-level import by pywinusb.hid.winapi)
W: no module named java (conditional import by xml.sax._exceptions)
W: no module named ctypes.c_ulong (top-level import by pywinusb.hid.winapi)
W: no module named importlib._bootstrap (conditional import by pkg_resources)
W: no module named win32com.client._get_good_object_ (top-level import by win32com.client.util)
W: no module named ctypes.c_void_p (top-level import by pywinusb.hid.winapi)
W: no module named _emx_link (conditional import by os)
W: no module named posix (conditional import by os)
W: no module named ctypes.c_wchar (top-level import by pywinusb.hid.winapi)
W: no module named ctypes.c_uint (top-level import by pywinusb.hid.winapi)
W: no module named ctypes.byref (top-level import by pywinusb.hid.core)
W: no module named xmltok (top-level import by pyexpat)
W: no module named ctypes.c_ushort (top-level import by pywinusb.hid.core)
W: no module named rourl2path (conditional import by urllib)
W: no module named ctypes.Union (top-level import by pywinusb.hid.winapi)
W: no module named wx (delayed import by pywinusb.hid.wnd_hook_mixin)
W: no module named ctypes.sizeof (top-level import by pywinusb.hid.core)
W: no module named vms_lib (delayed, conditional import by platform)
W: no module named pwd (delayed import by webbrowser)
W: no module named SOCKS (top-level import by ftplib)
W: no module named _xmlplus (top-level import by xml)
W: no module named TERMIOS (conditional import by serial.serialposix)
W: __all__ is built strangely at line 0 - dummy_threading (C:\Python27\lib\dummy_threading.pyc)
W: delayed  __import__ hack detected at line 0 - serial.serialjava (C:\Python27\lib\site-packages\serial\serialjava.pyc)
W: delayed  exec statement detected at line 0 - bdb (C:\Python27\lib\bdb.pyc)
W: delayed  eval hack detected at line 0 - bdb (C:\Python27\lib\bdb.pyc)
W: delayed  eval hack detected at line 0 - bdb (C:\Python27\lib\bdb.pyc)
W: delayed  __import__ hack detected at line 0 - optparse (C:\Python27\lib\optparse.pyc)
W: delayed  __import__ hack detected at line 0 - importlib (C:\Python27\lib\importlib\__init__.pyc)
W: delayed conditional __import__ hack detected at line 0 - pkg_resources (build\bdist.win32\egg\pkg_resources.pyc)
W: delayed conditional exec statement detected at line 0 - pkg_resources (build\bdist.win32\egg\pkg_resources.pyc)
W: delayed conditional exec statement detected at line 0 - pkg_resources (build\bdist.win32\egg\pkg_resources.pyc)
W: delayed conditional __import__ hack detected at line 0 - pkg_resources (build\bdist.win32\egg\pkg_resources.pyc)
W: delayed  __import__ hack detected at line 0 - pkg_resources (build\bdist.win32\egg\pkg_resources.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest (C:\Python27\lib\doctest.pyc)
W: delayed  exec statement detected at line 0 - doctest (C:\Python27\lib\doctest.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest (C:\Python27\lib\doctest.pyc)
W: __all__ is built strangely at line 0 - tokenize (C:\Python27\lib\tokenize.pyc)
W: __all__ is built strangely at line 0 - tokenize (C:\Python27\lib\tokenize.pyc)
W: delayed conditional __import__ hack detected at line 0 - pyi_archive (c:\pyinstaller-2.1\PyInstaller\loader\pyi_archive.pyc)
W: delayed  __import__ hack detected at line 0 - pickle (C:\Python27\lib\pickle.pyc)
W: delayed  __import__ hack detected at line 0 - pickle (C:\Python27\lib\pickle.pyc)
W: delayed conditional __import__ hack detected at line 0 - serial (C:\Python27\lib\site-packages\serial\__init__.pyc)
W: delayed  __import__ hack detected at line 0 - win32com.server.policy (C:\Python27\lib\site-packages\win32com\server\policy.pyc)
W: delayed  __import__ hack detected at line 0 - encodings (C:\Python27\lib\encodings\__init__.pyc)
W: delayed  __import__ hack detected at line 0 - pydoc (C:\Python27\lib\pydoc.pyc)
W: delayed  __import__ hack detected at line 0 - pydoc (C:\Python27\lib\pydoc.pyc)
W: delayed  exec statement detected at line 0 - Tkinter (C:\Python27\lib\lib-tk\Tkinter.pyc)
W: __all__ is built strangely at line 0 - dis (C:\Python27\lib\dis.pyc)
W: __all__ is built strangely at line 0 - hashlib (C:\Python27\lib\hashlib.pyc)
W: delayed conditional eval hack detected at line 0 - warnings (C:\Python27\lib\warnings.pyc)
W: delayed conditional __import__ hack detected at line 0 - warnings (C:\Python27\lib\warnings.pyc)
W: delayed conditional exec statement detected at line 0 - pyi_importers (c:\pyinstaller-2.1\PyInstaller\loader\pyi_importers.pyc)
W: delayed  eval hack detected at line 0 - _markerlib.markers (build\bdist.win32\egg\_markerlib\markers.pyc)
W: delayed  __import__ hack detected at line 0 - email (C:\Python27\lib\email\__init__.pyc)
W: delayed  __import__ hack detected at line 0 - ctypes (C:\Python27\lib\ctypes\__init__.pyc)
W: delayed  __import__ hack detected at line 0 - ctypes (C:\Python27\lib\ctypes\__init__.pyc)
W: delayed  exec statement detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed  eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed  eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed  __import__ hack detected at line 0 - pkgutil (C:\Python27\lib\pkgutil.pyc)
W: delayed conditional __import__ hack detected at line 0 - pkgutil (C:\Python27\lib\pkgutil.pyc)
W: delayed  exec statement detected at line 0 - win32com.client.dynamic (C:\Python27\lib\site-packages\win32com\client\dynamic.pyc)
W: __all__ is built strangely at line 0 - collections (C:\Python27\lib\collections.pyc)
W: delayed  exec statement detected at line 0 - collections (C:\Python27\lib\collections.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest.main (C:\Python27\lib\unittest\main.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest.loader (C:\Python27\lib\unittest\loader.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest.loader (C:\Python27\lib\unittest\loader.pyc)
W: delayed  __import__ hack detected at line 0 - unittest.loader (C:\Python27\lib\unittest\loader.pyc)
W: delayed conditional __import__ hack detected at line 0 - win32com.client.gencache (C:\Python27\lib\site-packages\win32com\client\gencache.pyc)
W: delayed  __import__ hack detected at line 0 - win32com.client.gencache (C:\Python27\lib\site-packages\win32com\client\gencache.pyc)
W: __all__ is built strangely at line 0 - __future__ (C:\Python27\lib\__future__.pyc)
W: delayed  __import__ hack detected at line 0 - win32com.client.makepy (C:\Python27\lib\site-packages\win32com\client\makepy.pyc)
W: delayed  __import__ hack detected at line 0 - xml.sax (C:\Python27\lib\xml\sax\__init__.pyc)
W: delayed  eval hack detected at line 0 - gettext (C:\Python27\lib\gettext.pyc)

Any insight on how to track this down would bre greatly appreciated.

Recommended Answers

All 2 Replies

It looks as if only 1/4 of your moudles are missing so looking in your python folder for your moduldes is a way to start.

Locations of folders:
Mac: /Users/Shared/bin/python
Then look for the lib folder.

Windows: C:\Python34\Lib
Replace "Python34" with what ever version of python your running.

If you what to make your own module any thing with a init is concidered a moulde by python.

If this doesn't work try copy and pasting the modules from PyInstaller to the python library. Also try rearanging your imports, which order they import in.

This might have something to do with it.

Error: The output directory "C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\dist\TargetGUI" is not empty. Please remove all its contents or use the -y option (remove output directory without confirmation

As an aside init makes a folder into a package, a module is just one source file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.