gpt4 book ai didi

macos - 没有带有 python 3.3 的包安装程序?

转载 作者:行者123 更新时间:2023-12-01 09:21:09 26 4
gpt4 key购买 nike

我刚刚下载了适用于 Mac OS 的已安装 python 3.3。我用了standard package from python.org

我发现python 3.3没有包安装工具。没有 pip、easy_install、setuptools。看起来像是引导问题:如何在没有 package-installing-package 的情况下安装 package-installing-package?

我是不是遗漏了什么明显的东西?还是我需要采取进一步的步骤才能获得软件包安装程序?

最佳答案

Distribute提供安装程序脚本 distribute_setup.py。因此,在带有 curl 的 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

如果您没有 curl,请通过其他方式下载脚本并运行其他两个命令。

关于macos - 没有带有 python 3.3 的包安装程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14335989/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com