美文网首页
UbuntuServer18.04中安装pip

UbuntuServer18.04中安装pip

作者: ZHOUZAIHUI | 来源:发表于2018-12-12 21:33 被阅读0次

UbuntuServer中安装pip命令:

sudo apt install python-pip

执行该命令时常出现错误。
解决办法,利用get-pip.py文件进行安装。

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

# 安装get-pip.py
sudo python get-pip.py

相关文章

网友评论

      本文标题:UbuntuServer18.04中安装pip

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