pip更换国内源

  1. pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
     
    2.修改配置文件~/.pip/pip.conf
     

     

     

    3.pip install locustio -i https://pypi.tuna.tsinghua.edu.cn/simple
posted @ 2020-08-11 16:34  zipon  阅读(581)  评论(0编辑  收藏  举报