Ubuntu20.10中python2的pip安裝問題
阿新 • • 發佈:2020-12-16
Ubuntu20.10中python2的pip安裝問題
Ubuntu20.10中的問題
之前由於筆電固態損壞,將主系統換成了Ubuntu20.0。但是在安裝python2的pip是一直失敗。情況如下:
解決辦法
在Terminal中依次執行以下命令
sudo add-apt-repository universe sudo apt-get update curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py sudo python2 get-pip.py
參考:
https://blog.csdn.net/snowdream86/article/details/106160597