pip install change source 发表于 2020-05-18 分类于 Python pip 指定源~/.pip/pip.conf 1234[global]index-url = http://mirrors.aliyun.com/pypi/simple/[install]trusted-host = mirrors.aliyun.com or 临时指定 1pip install pyyaml --user -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com