2011/3/4 Aahz <a...@pythoncraft.com>:
> On Fri, Mar 04, 2011, Andr? Sintzoff wrote:
>>
>> The application is created with:
>> $ python setup.py py2app --use-pythonpath
>>
>> Unfortunately, when
>> $ open ./dist/TortoiseHg.app/Contents/MacOS/TortoiseHg
>> the following message is displayed
>> ImportError: 
>> '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/mercurial/osutil.so'
>> not found
>>
>> I'm wondering why the application searches modules in
>> /System/Library/Frameworks/Python.framework and not in the bundle just
>> created where the files are available.
>
> You need to download from python.org; using the built-in Python causes
> py2app to behave differently.

I just tried to install MacPython
(http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg)
according to

Unfortunately, I have some issues regarding paths...
I got the following import error when launching my application:
ImportError: No module named PyQt4.uic.Compiler

I'm afraid to have done something modifying sys.path but I don't see what.

André
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to