pip源修改 pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/web/simple # python2 python -m SimpleHTTPServer 8080 # python3 python -m http.server 8080