我在我的Mac上安装了Python 3.2,并希望使用setuptools的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
包?