美文网首页
Linux 多版本Python pip for Python3

Linux 多版本Python pip for Python3

作者: yumuxu | 来源:发表于2016-02-08 00:28 被阅读0次
  1. 使用命令下载脚本 curl -O https://bootstrap.pypa.io/get-pip.py
  2. 使用python3运行脚本 python3 get-pip.py
  3. 安装完成之后就/usr/local/bin下就会有pip3
  4. 创建软连接到 /usr/bin 就可以在Terminal下正常使用ln -s /usr/local/bin/pip3 /usr/bin/pip3
  5. 参考How to use pip with Python 3.x alongside Python 2.x

相关文章

网友评论

      本文标题:Linux 多版本Python pip for Python3

      本文链接:https://www.haomeiwen.com/subject/bjyykttx.html