2013-01-15 87 views
2

我刚刚为Mac OS下载了安装的python 3.3。我用standard package from python.org没有包安装程序与Python 3.3?

我发现在Python 3.3中没有软件包安装工具。没有点,easy_install,setuptools。 看起来像引导带问题:如何在没有包安装包的情况下安装包安装包?

我我错过了一些明显的东西?还是我需要采取进一步措施才能拥有包安装程序?

+0

@ G.Kayaalp:此链接setuptools不支持python 3.x,只有2.x鸡蛋。 –

+0

下载并运行'distribute_setup.py'。请参阅此处的说明:http://pypi.python.org/pypi/distribute –

+0

行,所以它是: '1。 curl -O http://python-distribute.org/distribute_setup.py 2. python3.3 distribute_setup.py 3. easy_install pip' 现在我可以使用pip这是现代推荐的软件包安装程序。 @ThomasK,如果你张贴这个答案我会接受它,谢谢。 –

回答

7

Distribute提供安装程序脚本distribute_setup.py。因此,与卷曲的Unix-Y系统,你可以使用下面的命令:

curl -O http://python-distribute.org/distribute_setup.py 
python3.3 distribute_setup.py 
easy_install pip # easy_install is part of distribute 

如果你没有卷曲,下载脚本的另一种方式和运行其他两个命令。

+0

谢谢@ThomasK。 Python自on为“包含电池”。缺少包装安装程序是一大缺电池。 –

+0

@PeriodicMaintenance:那么,在Python上打包仍然是一团糟。目前正在开展工作来改进它,但它尚未及时准备好3.3。 –