【问题标题】:Trying to install pip for python 3.6尝试为 python 3.6 安装 pip
【发布时间】:2018-09-30 17:37:22
【问题描述】:

我按照在 macOS 上安装 AWS 命令​​行界面的说明进行操作,并且一直运行 $ curl -O https://bootstrap.pypa.io/get-pip.py 并看到一大块代码,我认为它安装了 pip。

当我运行下一个命令 $ python3 get-pip.py --user 时,我收到一条错误消息,上面写着 /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python: can't open file 'get-pip.py': [Errno 2] No such file or directory

有人遇到过吗?我遵循的说明在这里https://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html#awscli-install-osx-path

【问题讨论】:

标签: amazon-web-services amazon-ec2 pip


【解决方案1】:

AWS 的文档有一个不好的建议。正确的命令是

curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py

https://pip.readthedocs.io/en/stable/installing/#installing-with-get-pip-py

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-08-21
    • 2018-10-15
    • 2017-09-04
    • 2017-07-28
    • 2022-08-02
    • 2018-11-09
    • 1970-01-01
    相关资源
    最近更新 更多