【发布时间】:2012-02-22 08:13:22
【问题描述】:
我已经在我的 Mac 上安装了 Python 3.2,我想使用 setuptool 的 easy_install 安装一些包。
唉,我唯一的easy_install版本是(使用命令行自动完成):
easy_install easy_install-2.5 easy_install-2.6
如何为 Python 3.2 安装包?
附录
我听从了Thomas K的建议:
$ curl -O http://python-distribute.org/distribute_setup.py
$ python distribute_setup.py
但运气不好,easy_install 仍然安装 Python 2.6 包:
$ easy_install beautifulsoup
Searching for beautifulsoup
Best match: BeautifulSoup 3.2.0
Processing BeautifulSoup-3.2.0-py2.6.egg
如何强制 easy_install 检索 Python 3.2 包?
【问题讨论】:
标签: macos python-3.x setuptools