我已經在我的Mac上安裝了Python 3.2,我想用setuptool的easy_install
安裝一些軟件包。Python 3在mac上的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
包而不是?
我跟着指示(見附錄),但發行版已安裝在我的Python 2.6上。 – 2012-01-31 09:11:50
@AdamMatan:然後你用Python 2.6運行安裝。它安裝在你用來運行安裝的python中。非常容易和明顯。 – 2012-01-31 14:31:22