mkdir ~/.pip vim ~/.pip/pip.conf 然后将下面这两行复制进去就好了 [global] index-url = https://mirrors.aliyun.com/pypi/simple