1、修改pip的镜像地址及更新pip
https://www.cnblogs.com/techroad4ca/p/5922389.html
2、更新python的库,比如更新six
sudo pip install --upgrade six
有时会报错,说已经安装过了,可用--ignore-installed参数忽略
sudo pip install --upgrade --ignore-installed matplotlib