在~/.pip/pip.conf文件中添加或修改
mkdir ~/.pip
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3