[Pythonmac-SIG] No module named altgraph-0

Mark Livingstone livingstonemark at gmail.com
Wed Aug 15 18:25:21 CEST 2012


Any ideas?

On 12 August 2012 16:27, Mark Livingstone <livingstonemark at gmail.com> wrote:
> Hi Guys,
>
> I'm making progress - I think ;-)
>
> I went to Ronald's Bitbucket and installed all the relevant bits and
> pieces. Finally I made py2app as below, and it seemed that this was
> successful. However when I tried to make my app as shown further down,
> I get an error saying I don't have a module named altgraph-0. This is
> on my Mountain Lion machine.
>
> -------------------------------------------------
>
> renaissance-eth1:py2app mlivingstone$ sudo python setup.py install
> running install
> running bdist_egg
> running egg_info
> writing requirements to py2app.egg-info/requires.txt
> writing py2app.egg-info/PKG-INFO
> writing top-level names to py2app.egg-info/top_level.txt
> writing dependency_links to py2app.egg-info/dependency_links.txt
> writing entry points to py2app.egg-info/entry_points.txt
> reading manifest file 'py2app.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no directories found matching 'doc/_static'
> warning: no directories found matching 'doc/_templates'
> warning: no previously-included files matching '.DS_Store' found
> anywhere in distribution
> warning: no previously-included files matching '*.pyc' found anywhere
> in distribution
> warning: no previously-included files matching '*.so' found anywhere
> in distribution
> no previously-included directories found matching
> 'py2app/apptemplate/prebuilt/main*.dSYM'
> no previously-included directories found matching
> 'py2app/bundletemplate/prebuilt/main*.dSYM'
> writing manifest file 'py2app.egg-info/SOURCES.txt'
> installing library code to build/bdist.macosx-10.8-x86_64/egg
> running install_lib
> running build_py
> creating build/bdist.macosx-10.8-x86_64/egg
> creating build/bdist.macosx-10.8-x86_64/egg/py2app
> copying build/lib/py2app/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate
> copying build/lib/py2app/apptemplate/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/lib
> copying build/lib/py2app/apptemplate/lib/__error__.sh ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/lib
> copying build/lib/py2app/apptemplate/lib/site.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/lib
> copying build/lib/py2app/apptemplate/plist_template.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-fat ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-fat3 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-i386 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-intel ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-ppc ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-ppc64 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-universal ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/prebuilt/main-x86_64 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/prebuilt
> copying build/lib/py2app/apptemplate/setup.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/src
> copying build/lib/py2app/apptemplate/src/main.c ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/src
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/argv_emulation.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/argv_inject.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/boot_aliasapp.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/boot_aliasplugin.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/boot_app.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/boot_plugin.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/chdir_resource.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/disable_linecache.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/emulate_shell_environment.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/import_encodings.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/path_inject.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/reset_sys_path.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/setup_pkgresource.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/site_packages.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/bootstrap/system_path_extras.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap
> copying build/lib/py2app/build_app.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate
> copying build/lib/py2app/bundletemplate/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/lib
> copying build/lib/py2app/bundletemplate/lib/__error__.sh ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/lib
> copying build/lib/py2app/bundletemplate/lib/site.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/lib
> copying build/lib/py2app/bundletemplate/plist_template.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-fat ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-fat3 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-i386 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-intel ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-ppc ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-ppc64 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-universal ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/prebuilt/main-x86_64 ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/prebuilt
> copying build/lib/py2app/bundletemplate/setup.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/src
> copying build/lib/py2app/bundletemplate/src/main.m ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/src
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/converters
> copying build/lib/py2app/converters/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/converters
> copying build/lib/py2app/converters/coredata.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/converters
> copying build/lib/py2app/converters/nibfile.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/converters
> copying build/lib/py2app/create_appbundle.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app
> copying build/lib/py2app/create_pluginbundle.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app
> copying build/lib/py2app/decorators.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app
> copying build/lib/py2app/filters.py -> build/bdist.macosx-10.8-x86_64/egg/py2app
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/cjkcodecs.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/docutils.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/email.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/matplotlib.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/matplotlib_prescript.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/numpy.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> creating build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/PIL
> copying build/lib/py2app/recipes/PIL/__init__.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/PIL
> copying build/lib/py2app/recipes/PIL/prescript.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/PIL
> copying build/lib/py2app/recipes/pydoc.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/pygame.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/pyopengl.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/pyside.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/pyzmq.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/scipy.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/sip.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/virtualenv.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/recipes/wx.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app/recipes
> copying build/lib/py2app/script_py2applet.py ->
> build/bdist.macosx-10.8-x86_64/egg/py2app
> copying build/lib/py2app/util.py -> build/bdist.macosx-10.8-x86_64/egg/py2app
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/lib/site.py
> to site.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/plist_template.py
> to plist_template.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/apptemplate/setup.py
> to setup.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/argv_emulation.py
> to argv_emulation.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/argv_inject.py
> to argv_inject.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/boot_aliasapp.py
> to boot_aliasapp.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/boot_aliasplugin.py
> to boot_aliasplugin.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/boot_app.py
> to boot_app.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/boot_plugin.py
> to boot_plugin.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/chdir_resource.py
> to chdir_resource.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/disable_linecache.py
> to disable_linecache.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/emulate_shell_environment.py
> to emulate_shell_environment.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/import_encodings.py
> to import_encodings.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/path_inject.py
> to path_inject.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/reset_sys_path.py
> to reset_sys_path.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/setup_pkgresource.py
> to setup_pkgresource.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/site_packages.py
> to site_packages.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bootstrap/system_path_extras.py
> to system_path_extras.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/build_app.py
> to build_app.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/lib/site.py
> to site.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/plist_template.py
> to plist_template.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/bundletemplate/setup.py
> to setup.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/converters/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/converters/coredata.py
> to coredata.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/converters/nibfile.py
> to nibfile.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/create_appbundle.py
> to create_appbundle.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/create_pluginbundle.py
> to create_pluginbundle.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/decorators.py
> to decorators.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/filters.py to
> filters.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/cjkcodecs.py
> to cjkcodecs.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/docutils.py
> to docutils.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/email.py
> to email.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/matplotlib.py
> to matplotlib.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/matplotlib_prescript.py
> to matplotlib_prescript.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/numpy.py
> to numpy.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/PIL/__init__.py
> to __init__.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/PIL/prescript.py
> to prescript.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/pydoc.py
> to pydoc.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/pygame.py
> to pygame.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/pyopengl.py
> to pyopengl.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/pyside.py
> to pyside.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/pyzmq.py
> to pyzmq.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/scipy.py
> to scipy.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/sip.py
> to sip.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/virtualenv.py
> to virtualenv.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/recipes/wx.py to wx.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/script_py2applet.py
> to script_py2applet.pyc
> byte-compiling build/bdist.macosx-10.8-x86_64/egg/py2app/util.py to util.pyc
> creating build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/PKG-INFO -> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/SOURCES.txt ->
> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/dependency_links.txt ->
> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/entry_points.txt ->
> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/not-zip-safe ->
> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/requires.txt ->
> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> copying py2app.egg-info/top_level.txt ->
> build/bdist.macosx-10.8-x86_64/egg/EGG-INFO
> creating 'dist/py2app-0.7-py2.7.egg' and adding
> 'build/bdist.macosx-10.8-x86_64/egg' to it
> removing 'build/bdist.macosx-10.8-x86_64/egg' (and everything under it)
> Processing py2app-0.7-py2.7.egg
> removing '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg'
> (and everything under it)
> creating /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg
> Extracting py2app-0.7-py2.7.egg to
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
> py2app 0.7 is already the active version in easy-install.pth
> Installing py2applet script to
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin
>
> Installed /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg
> Processing dependencies for py2app==0.7
> Searching for macholib==1.5
> Best match: macholib 1.5
> Processing macholib-1.5-py2.7.egg
> macholib 1.5 is already the active version in easy-install.pth
> Installing macho_standalone script to
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin
> Installing macho_dump script to
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin
> Installing macho_find script to
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin
>
> Using /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/macholib-1.5-py2.7.egg
> Searching for modulegraph==0.10
> Best match: modulegraph 0.10
> Processing modulegraph-0.10-py2.7.egg
> modulegraph 0.10 is already the active version in easy-install.pth
> Installing modulegraph script to
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin
>
> Using /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/modulegraph-0.10-py2.7.egg
> Searching for altgraph==0.10
> Best match: altgraph 0.10
> Processing altgraph-0.10-py2.7.egg
> altgraph 0.10 is already the active version in easy-install.pth
>
> Using /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/altgraph-0.10-py2.7.egg
> Finished processing dependencies for py2app==0.7
> renaissance-eth1:py2app mlivingstone$ cd ../salstat-statistics-package-2/src
>
>
> --------------------------------------------------------------------------------------------
>
>
> renaissance-eth1:src mlivingstone$ sudo python
> ../mac-setup/setup_py2app.py py2app
> running py2app
> creating /Users/mlivingstone/Documents/workspace/salstat-statistics-package-2/src/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app
> creating /Users/mlivingstone/Documents/workspace/salstat-statistics-package-2/src/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect
> creating /Users/mlivingstone/Documents/workspace/salstat-statistics-package-2/src/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/temp
> creating /Users/mlivingstone/Documents/workspace/salstat-statistics-package-2/src/dist
> creating build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/lib-dynload
> creating build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/Frameworks
> /Users/mlivingstone/Documents/workspace/salstat-statistics-package-2/src/salstat.py:615:
> SyntaxWarning: import * only allowed at module level
>   def _createMenu(self):
> /Users/mlivingstone/Documents/workspace/salstat-statistics-package-2/src/salstat.py:615:
> SyntaxWarning: import * only allowed at module level
>   def _createMenu(self):
> *** using recipe: virtualenv ***
> WARNING: PyQt uic module found.
> avoid python3 metaclass syntax errors by adding 'PyQt4.uic' to your
> excludes option.
> Traceback (most recent call last):
>   File "../mac-setup/setup_py2app.py", line 61, in <module>
>     BuildOSXApp()
>   File "../mac-setup/setup_py2app.py", line 54, in BuildOSXApp
>     setup_requires = ['py2app'],
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
> line 152, in setup
>     dist.run_commands()
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
> line 953, in run_commands
>     self.run_command(cmd)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
> line 972, in run_command
>     cmd_obj.run()
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg/py2app/build_app.py",
> line 492, in run
>     self._run()
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg/py2app/build_app.py",
> line 655, in _run
>     self.run_normal()
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg/py2app/build_app.py",
> line 728, in run_normal
>     self.process_recipes(mf, filters, flatpackages, loader_files)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg/py2app/build_app.py",
> line 619, in process_recipes
>     rval = check(self, mf)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.7-py2.7.egg/py2app/recipes/sip.py",
> line 90, in check
>     mf.import_hook(pkg, m)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/modulegraph-0.10-py2.7.egg/modulegraph/modulegraph.py",
> line 688, in import_hook
>     q, tail = self.find_head_package(parent, name, level)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/modulegraph-0.10-py2.7.egg/modulegraph/modulegraph.py",
> line 771, in find_head_package
>     raise ImportError("No module named " + qname)
> ImportError: No module named altgraph-0
> renaissance-eth1:src mlivingstone$


More information about the Pythonmac-SIG mailing list