这是python pip的一个bug:https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991
方法一 使用easy_install
sudo easy_install freeze
方法二 从pip官网直接重装,重装前先卸载ubuntu的pip包
sudo apt-get remove python-pip
sudo apt-get autoremove
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
方法一 使用easy_install
sudo easy_install freeze
方法二 从pip官网直接重装,重装前先卸载ubuntu的pip包
sudo apt-get remove python-pip
sudo apt-get autoremove
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
sudo python get-pip.py
URL link:
http://suanfazu.com/t/pip-install-importerror-cannot-import-name-incompleteread/17
解决Python Pip安装错误
本文提供了解决Python pip安装ImportError的方法。首先介绍了通过easy_install进行安装的方案,其次提供了从pip官网重装的步骤,包括卸载原有pip包及获取最新安装文件。
1375

被折叠的 条评论
为什么被折叠?



