解决pip安装时出现报错TypeError unsupported operand type(s) for -= 'Retry' and 'int' 1.参考 https://stackoverflow.com/questions/42610545/typeerror-unsupported-operand-types-for-retry-and-int-during-pip 需要设置代理 2.参考https://zhang0peter.com/2018/11/02/pip/ 使用 python -m pip install --upgrade pip更新pip 3.参考https://www.cnblogs.com/YenKoc/p/13394867.html 创建~/.pip/pip.conf,更新pip 下载源