python如何安装pip3_如何在我的Mac上安装pip3?

更新 – 1.5之后的自制软件版本

On 1st March 2018 the python formula will be upgraded to Python 3.x and a python@2 formula will be added for installing Python 2.7 (although this will be keg-only so neither python nor python2 will be added to the PATH by default without a manual brew link –force). We will maintain python2, python3 and python@3 aliases.

因此,要安装Python 3,请运行以下命令:

brew install python3

然后,自动安装pip或pip3,您可以通过pip install< package>安装任何软件包.

Homebrew的旧版本

不仅brew安装python3,还酿造postinstall python3

所以你必须运行:

brew install python3

brew postinstall python3

请注意,您应该检查控制台,因为它可能会导致错误,在这种情况下,不会安装pip3.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值