From: Soren on
Hi,

I'm trying to create a standalone app using py2app, but it seems no
matter what I do I get this error:

Traceback (most recent call last):
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/__boot__.py", line 158, in <module>
_run('RAW.py')
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/__boot__.py", line 134, in _run
execfile(path, globals(), globals())
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/RAW.py", line 42, in <module>
from masking import CircleMask, RectangleMask, PolygonMask
File "masking.pyc", line 34, in <module>
File "fileIO.pyc", line 29, in <module>
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/scipy/weave/__init__.py", line 13, in
<module>
from inline_tools import inline
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/scipy/weave/inline_tools.py", line 5,
in <module>
import ext_tools
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/scipy/weave/ext_tools.py", line 6, in
<module>
import build_tools
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/scipy/weave/build_tools.py", line 28,
in <module>
import platform_info
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/scipy/weave/platform_info.py", line
15, in <module>
from numpy.distutils.core import setup
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/numpy/distutils/core.py", line 25, in
<module>
from numpy.distutils.command import config, config_compiler, \
File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/
Contents/Resources/lib/python2.6/numpy/distutils/command/
build_ext.py", line 9, in <module>
from distutils.command.build_ext import build_ext as old_build_ext
File "distutils/command/build_ext.pyc", line 13, in <module>
ImportError: cannot import name USER_BASE
2010-07-16 13:10:07.542 RAW[24832] RAW Error
2010-07-16 13:10:07.544 RAW[24832] RAW Error
An unexpected error has occurred during execution of the main script

Does anyone have an idea on how to fix this??

Thanks,
Soren
From: Aahz on
In article <4f6430e5-31ea-450d-a2b9-56442a7141fa(a)k19g2000yqc.googlegroups.com>,
Soren <soren.skou.nielsen(a)gmail.com> wrote:
>
>I'm trying to create a standalone app using py2app, but it seems no
>matter what I do I get this error:

Try pythonmac-sig(a)python.org
--
Aahz (aahz(a)pythoncraft.com) <*> http://www.pythoncraft.com/

"....Normal is what cuts off your sixth finger and your tail..." --Siobhan