解决pip install read time out 问题

最近倒腾pip的时候总是遇到read time out的问题,换源就好了,在install 后加上-i https://pypi.douban.com/simple

例如:

pip install djangorestframework -i https://pypi.douban.com/simple
原文地址:https://www.cnblogs.com/z1141000271/p/12312226.html