python升级pip3_为Python 3.6更新pip3?

我刚刚使用自制程序从Python3.4升级到Python3.6。

输出状态:Pip, setuptools, and wheel have been installed. To update them

pip3 install --upgrade pip setuptools wheel

You can install Python packages with

pip3 install

They will install into the site-package directory

/usr/local/lib/python3.6/site-packages

我试着跑pip3 install --upgrade pip setuptools wheel

但它没有为Python3.6升级pip。相反,它在Python 3.4中找到pip3,并说“需求已满足”:Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages

Collecting setuptools

Downloading setuptools-33.1.1-py2.py3-none-any.whl (472kB)

100% |████████████████████████████████| 481kB 1.0MB/s

Collecting wheel

Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)

100% |████████████████████████████████| 71kB 5.7MB/s

Installing collected packages: setuptools, wheel

Found existing installation: setuptools 12.0.5

Uninstalling setuptools-12.0.5:

Successfully uninstalled setuptools-12.0.5

Successfully installed setuptools-33.1.1 wheel-0.29.0

当我检查pip版本时,它在Python 3.4中,而不是3.6中。我该如何解决?$ pip3 -V

pip 9.0.1 from /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (python 3.4)

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值