【发布时间】:2014-07-28 21:44:40
【问题描述】:
我使用了来自http://www.python.org/download 的安装程序。安装似乎成功了,它把 Python 3.3 文件夹放到了我的 Applications 目录中。我运行了它包含的“更新 Shell Profile.command”脚本,并将 /Library/Frameworks/Python.framework/Versions/3.3/ 添加到我的路径中。然而,该目录中的 Python 版本似乎是 2.7.5。
/Library/Frameworks/Python.framework/Versions/3.3 ls
Headers Python Resources bin include lib share
/Library/Frameworks/Python.framework/Versions/3.3 Python --version
Python 2.7.5
另外,ls /usr/bin | grep python 显示:
python
python-config
python2.5
python2.5-config
python2.6
python2.6-config
python2.7
python2.7-config
pythonw
pythonw2.5
pythonw2.6
pythonw2.7
我错过了什么?
【问题讨论】:
标签: python macos python-3.x