kuoruan/shell-scripts

安装supervisor过程中提示错误

senri0079 opened this issue · 3 comments

这几天网络升级了。有人提出解决方案是使用kcptun。找到您的脚本安装中出现以下错误。

  • pip install supervisor
    Traceback (most recent call last):
    File "/usr/bin/pip", line 7, in
    from pip._internal import main
    File "/usr/lib/python2.6/site-packages/pip/_internal/init.py", line 19, in
    from pip._vendor.urllib3.exceptions import DependencyWarning
    File "/usr/lib/python2.6/site-packages/pip/_vendor/urllib3/init.py", line 8, in
    from .connectionpool import (
    File "/usr/lib/python2.6/site-packages/pip/_vendor/urllib3/connectionpool.py", line 92
    _blocking_errnos = {errno.EAGAIN, errno.EWOULDBLOCK}
    用命令手动安装也出现相同错误。我的环境是CentOS 6 x64。望得到您的解答。
    顺颂时祺

你重新下载一下脚本,再次安装

如果还是不行的话,手动执行一下:

wget -qO- --no-check-certificate https://bootstrap.pypa.io/2.6/get-pip.py | python

感谢!安装完成