当前位置: 动力学知识库 > 问答 > 编程问答 >

python - Not finding modules running py2app on OS X 10

问题描述:

I've spent over a day trying to figure out why an app, which used to pack properly until we had to move it to a different OSX machine, will no longer pack with py2app.

If I run the source code for the app directly from Python on the machine it works.

The setup.py I'm using looks like this:

import sys

from version import VERSION

includes = ['lxml.etree', 'lxml._elementpath', 'gzip', 'P4', 'PIL']

if sys.platform == 'darwin':

from setuptools import setup

setup(app = ["main.py"],

setup_requires = ["py2app"],

name = "Builder",

dest_base = "Builder",

options = {"py2app": { "includes": includes + ['_scproxy'],

"argv_emulation": True,

"iconfile": "builder.icns",

"compressed": False,

"optimize": 2,

}

},)

The first thing I notice in the output from py2app is this line:

/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:

UserWarning: Unknown distribution option: 'dest_base'

warnings.warn(msg)

I'm not sure if that's the real issue, I was able to get rid of that warning by removing the dest_base option from setup.py.

The major issue is that it seems py2app is unable to find many critical dependencies. I tried reinstalling and updating py2app without any success.

> Modules not found (unconditional imports): *

> Carbon.Dlg.GetDialogItemText (pathlib) * Carbon.Dlg.GetNewDialog

> (pathlib) * Carbon.Dlg.ModalDialog (pathlib) *

> Carbon.Dlg.SetDialogItemText (pathlib) *

> Carbon.File.FSGetResourceForkName (pathlib, pkg_resources) *

> Carbon.File.FSRef (pathlib, pkg_resources) * PyQt4 (PIL.ImageQt) *

> PyQt4.QImage (PyQt4.QtCore, PyQt4.QtGui) * PyQt4.QPixmap

> (PyQt4.QtCore, PyQt4.QtGui) * PyQt4.QtCore (PIL.ImageQt) *

> PyQt4.qRgba (PyQt4.QtCore, PyQt4.QtGui) * PyQt5 (PIL.ImageQt) *

> PyQt5.QImage (PyQt5.QtCore, PyQt5.QtGui) * PyQt5.QPixmap

> (PyQt5.QtCore, PyQt5.QtGui) * PyQt5.QtCore (PIL.ImageQt) *

> PyQt5.qRgba (PyQt5.QtCore, PyQt5.QtGui) * PySide (PIL.ImageQt) *

> PySide.QImage (PySide.QtCore, PySide.QtGui) * PySide.QPixmap

> (PySide.QtCore, PySide.QtGui) * PySide.QtCore (PIL.ImageQt) *

> PySide.qRgba (PySide.QtCore, PySide.QtGui) * __builtin__.open

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> PIL.IcnsImagePlugin) * __main__.__requires__

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _collections.defaultdict (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _collections.deque (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.ArgumentError (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.Array (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.CFuncPtr (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.FUNCFLAG_CDECL (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.FUNCFLAG_PYTHONAPI (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.FUNCFLAG_STDCALL (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.FUNCFLAG_USE_ERRNO (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.FUNCFLAG_USE_LASTERROR (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.FormatError (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.LoadLibrary (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.POINTER (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.RTLD_GLOBAL (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.RTLD_LOCAL (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.Structure (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.Union (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._Pointer (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._SimpleCData (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.__version__ (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._cast_addr (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._check_HRESULT (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._memmove_addr (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._memset_addr (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._pointer_type_cache (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._string_at_addr (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes._wstring_at_addr (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.addressof (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.alignment (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.byref (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.dlopen (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.get_errno (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.get_last_error (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.pointer (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.resize (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.set_conversion_mode (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.set_errno (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.set_last_error (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ctypes.sizeof (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _emx_link.link (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _functools.partial (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _functools.reduce (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _hashlib.pbkdf2_hmac (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _imaging_gif (PIL.GifImagePlugin) * _imp (pkg_resources) * _io.BlockingIOError (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.BufferedRWPair (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.BufferedRandom (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.BufferedReader (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.BufferedWriter (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.BytesIO (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.DEFAULT_BUFFER_SIZE (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.FileIO (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.IncrementalNewlineDecoder (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.StringIO (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.TextIOWrapper (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.UnsupportedOperation (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _io.open (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _md5 (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _scproxy._get_proxies (pathlib) * _scproxy._get_proxy_settings (pathlib) * _sha

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _sha256 (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _sha512 (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _sre.MAXREPEAT (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _ssl.CERT_NONE (pathlib) * _ssl.CERT_OPTIONAL (pathlib) * _ssl.CERT_REQUIRED (pathlib) * _ssl.HAS_ALPN (pathlib) * _ssl.HAS_ECDH (pathlib) * _ssl.HAS_NPN (pathlib) * _ssl.HAS_SNI (pathlib) * _ssl.OPENSSL_VERSION (pathlib) *

> _ssl.OPENSSL_VERSION_INFO (pathlib) * _ssl.OPENSSL_VERSION_NUMBER (pathlib) * _ssl.RAND_add (pathlib) * _ssl.RAND_egd (pathlib) *

> _ssl.RAND_status (pathlib) * _ssl.SSLEOFError (pathlib) * _ssl.SSLError (pathlib) * _ssl.SSLSyscallError (pathlib) * _ssl.SSLWantReadError (pathlib) * _ssl.SSLWantWriteError (pathlib) * _ssl.SSLZeroReturnError (pathlib) * _ssl.SSL_ERROR_EOF (pathlib) * _ssl.SSL_ERROR_INVALID_ERROR_CODE (pathlib) * _ssl.SSL_ERROR_SSL (pathlib) * _ssl.SSL_ERROR_SYSCALL (pathlib) *

> _ssl.SSL_ERROR_WANT_CONNECT (pathlib) * _ssl.SSL_ERROR_WANT_READ (pathlib) * _ssl.SSL_ERROR_WANT_WRITE (pathlib) *

> _ssl.SSL_ERROR_WANT_X509_LOOKUP (pathlib) * _ssl.SSL_ERROR_ZERO_RETURN (pathlib) * _ssl._OPENSSL_API_VERSION (pathlib) * _ssl._SSLContext (pathlib) * _ssl.enum_certificates

> (pathlib) * _ssl.enum_crls (pathlib) * _ssl.nid2obj (pathlib) *

> _ssl.txt2obj (pathlib) * _struct.__doc__ (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _struct._clearcache (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.CREATE_NEW_CONSOLE (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.CREATE_NEW_PROCESS_GROUP (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.STARTF_USESHOWWINDOW (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.STARTF_USESTDHANDLES (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.STD_ERROR_HANDLE (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.STD_INPUT_HANDLE (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.STD_OUTPUT_HANDLE (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _subprocess.SW_HIDE (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.CallableProxyType (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.ProxyType (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.ReferenceType (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.getweakrefcount (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.getweakrefs (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.proxy (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * _weakref.ref (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * aetypes.ObjectSpecifier (pathlib) * aetypes.mkenum (pathlib) * array.array

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> pathlib) * binascii.a2b_base64

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> pathlib) * binascii.a2b_qp

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> pathlib) * binascii.a2b_uu

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * binascii.b2a_base64 (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> pathlib) * binascii.b2a_qp

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> pathlib) * binascii.b2a_uu

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * binascii.hexlify (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * builtins (Image, PIL.Image) * cPickle.dumps (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * cPickle.loads (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * cStringIO.StringIO (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> PIL.IcnsImagePlugin, pathlib, pkg_resources) * ce._exit

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * cffi (Image, PIL.Image, PIL.PyAccess) * cffi.FFI (Image, PIL.Image) * collections.OrderedDict (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * collections.deque (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * collections.namedtuple (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> PIL.TiffImagePlugin, pathlib) * copy.deepcopy

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * errno.EINVAL (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * errno.ENOENT (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * gestalt.gestalt (pkg_resources) * grp.getgrnam (PIL.IcnsImagePlugin, pathlib) * hashlib.md5

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> P4) * hashlib.sha1

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> P4) * importlib.machinery (pkg_resources) * itertools.chain

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> PIL.TiffImagePlugin) * itertools.count

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * itertools.imap (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * itertools.islice (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * itertools.izip (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * itertools.repeat (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> PIL.TiffImagePlugin) * itertools.starmap

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * itertools.tee (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * java (pkg_resources) * java.System (java.lang, pkg_resources) * java.lang (pkg_resources) * math.acos

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.ceil (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.cos (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.e (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.exp (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.log (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.pi (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.sin (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * math.sqrt (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * netbios (P4) * nt._exit (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * nt._getfinalpathname (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * nt._getfullpathname (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * nt._isdir (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * nturl2path.pathname2url (pathlib) * nturl2path.url2pathname (pathlib) * operator.attrgetter

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * operator.eq (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * operator.itemgetter (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * org (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> org.python.core) * org.PyStringMap

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> org.python) * org.python

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * org.python.core (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * org.python.core.PyStringMap (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os.mkdir (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os.open (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os.rename (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os.unlink (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os.urandom (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os.utime (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * os2._exit (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * pkg_resources.extern.six.moves (pkg_resources) * posix._exit (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * pwd.getpwnam (PIL.IcnsImagePlugin, pathlib) * re.__all__ (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * re._compile (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * riscos._exit (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * riscosenviron._Environ (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * riscospath (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * rourl2path.pathname2url (pathlib) * rourl2path.url2pathname (pathlib) * shlex.quote

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * socket.AF_INET (pathlib) * socket.SOCK_STREAM (pathlib) * socket.SOL_SOCKET (pathlib) * socket.SO_TYPE (pathlib) *

> socket._delegate_methods (pathlib) * socket._fileobject (pathlib) *

> socket.create_connection (pathlib) * socket.error (pathlib) *

> socket.socket (pathlib) * strop.lowercase

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * strop.maketrans (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * strop.uppercase (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * strop.whitespace (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * struct.calcsize (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * struct.pack (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * struct.unpack (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * struct.unpack_from (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * sys.py3kwarning (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py,

> pathlib) * thread._local

> (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * thread.allocate_lock (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * thread.get_ident (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * thread.stack_size (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * threading.RLock (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * threading.current_thread (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * time.sleep (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * time.strptime (pathlib) * time.time (/Library/Python/2.7/site-packages/py2app/bootstrap/ctypes_setup.py)

> * tkinter (PIL.ImageTk) * urllib.parse (pathlib) * win32api.GetVersionEx (pkg_resources) * win32api.RegCloseKey

> (pkg_resources) * win32api.RegOpenKeyEx (pkg_resources) *

> win32api.RegQueryValueEx (pkg_resources) *

> win32con.HKEY_LOCAL_MACHINE (pkg_resources) *

> win32con.VER_NT_WORKSTATION (pkg_resources) *

> win32con.VER_PLATFORM_WIN32_NT (pkg_resources) *

> win32con.VER_PLATFORM_WIN32_WINDOWS (pkg_resources) * win32wnet (P4)

> * xml.parsers.expat.ParserCreate (pkg_resources) * zipimport.zipimporter (pkg_resources)

>

> Done!

I read a similar question here but even if I try copying the whole package into a shorter named temp path it makes no difference.

Am I missing something here?

分享给朋友:
您可能感兴趣的文章:
随机阅读: