0
我升級py2app(使用PIP),然後跑了與PIP升級py2app breakes它
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/bin/py2applet --make-setup --arch=i386 test.py
但是我得到以下
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/bin/py2applet", line 5, in <module>
from pkg_resources import load_entry_point
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 2797, in <module>
parse_requirements(__requires__), Environment()
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: py2app==0.6.3
我不想用0.6.3爲什麼它迫使我去?
你怎麼安裝py2app?用點或easy_install或其他東西? –
我用pip來安裝它(sudo pip --upgrade py2app) – Zimm3r
@ Zimm3r試試這個'sudo pip install --upgrade py2app' –