[Pythonmac-SIG] py2app and setuptools , import error (osx 10.6.3, system python)

Ronald Oussoren ronaldoussoren at mac.com
Sat Jun 12 06:37:43 CEST 2010


On 11 Jun, 2010, at 9:04, Massimo Di Stefano wrote:

> Hi All,
> 
> i'm tring to run py2app but i'm having problems to have it working,
> here is the log :
> 
> (seems it fails to import setuptools, but it is already installed)
> 
> thanks foe any help1

What is the output of these shell commands:

* which python
* which easy_install

Ronald

> 
> Regards,
> Massimo.
> 
> 
> ## log :
> 
> 
> sudo easy_install py2app
> 
> Password:
> Searching for py2app
> Best match: py2app 0.4.3
> Processing py2app-0.4.3-py2.6.egg
> py2app 0.4.3 is already the active version in easy-install.pth
> Installing py2applet script to /usr/local/bin
> 
> Using /Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg
> Processing dependencies for py2app
> Finished processing dependencies for py2app
> 
> 
> 
> sudo easy_install setuptools
> Searching for setuptools
> Best match: setuptools 0.6c11
> Processing setuptools-0.6c11-py2.6.egg
> setuptools 0.6c11 is already the active version in easy-install.pth
> 
> Using /Library/Python/2.6/site-packages/setuptools-0.6c11-py2.6.egg
> Processing dependencies for setuptools
> Finished processing dependencies for setuptools
> 
> 
> 
> python 
> 
> Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 
> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import setuptools
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: No module named setuptools
> 
>>>> import py2app
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/__init__.py", line 34, in <module>
>    import setuptools
> ImportError: No module named setuptools
>>>> 
> 
> 
> 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100611/45a2f621/attachment.bin>


More information about the Pythonmac-SIG mailing list