根源问题:
HTTPError: 404 Client Error: Not Found for url: http://mirrors.tencentyun.com/pypi/simple/pkg-resources/
解决方法:
访问PyPI镜像源出了问题,将pip的默认的源地址改为国内源即可。具体操作如下:
vim ~/.pip/pip.conf
打开pip配置文件: 写入
[global] index-url = http://e.pypi.python.org/simple
e.pypi.python.org
pypi.douban.com
pypi.hustunique.com