pip 出现 ImportError: cannot import name IncompleteRead 的解决过程

要在服务器上安装misaka 模块,安装运行pip install misaka 出现错误提示:

pip 出现 ImportError: cannot import name IncompleteRead 的解决过程

ImportError: cannot import name IncompleteRead

估计是版本太老

重新安装pip

1
2
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py

再运行 pip install misaka,出错 -bash: /usr/bin/pip: No such file or directory

1
2
3
4
# which pip
/usr/local/bin/pip
# cp /usr/local/bin/pip /usr/bin/pip
# pip install misaka

ok

本文网址: https://pylist.com/topic/114.html 转摘请注明来源

Suggested Topics

使用国内pip

有些服务器对外网络很坑,幸好国内有好多优秀的源镜像...

Leave a Comment