首页 > Mac的python一直提示“print "Distribute >= 0.6.16 is required to run this."”

Mac的python一直提示“print "Distribute >= 0.6.16 is required to run this."”

没接触过python,需要在Mac上测试个别人写好的python网页程序,Mac自带的python已经从2.7更新到3.4了

但运行 python setup.py build 的时候,会出现这个错误提示:

File "setup.py", line 32
print "Distribute >= 0.6.16 is required to run this."
^
SyntaxError: invalid syntax

看提示,应该是缺少Distribute,于是我按照这个网页的提示安装了下,发现已经安装过最新版了,https://pypi.python.org/pypi/distribute/0.6.49

现在毫无头绪,完全不知道怎么整,有大神可以提示下吗?


python2 -> python3 不能叫升级… 这叫更换


setuptool 0.6.x 不支持 python 3,退回到 python 2.7 吧。


话说,只能退到2.7了。或者说多Python环境也可以~

【热门文章】
【热门文章】