镜像源地址
pip
临时使用
pip install -i https://mirrors.zju.edu.cn/pypi/web/simple some-package
若使用 HTTP 镜像,需额外添加
--trusted-host mirrors.zju.edu.cn。
永久使用
pip config set global.index-url https://mirrors.zju.edu.cn/pypi/web/simple
临时使用
pip install -i https://mirrors.zju.edu.cn/pypi/web/simple some-package
若使用 HTTP 镜像,需额外添加
--trusted-host mirrors.zju.edu.cn。
永久使用
pip config set global.index-url https://mirrors.zju.edu.cn/pypi/web/simple