pip使用镜像安装需要的包

我们可以直接在 pip 命令中使用 -i 参数来指定镜像地址

pip3 install bs4 -i https://pypi.tuna.tsinghua.edu.cn/simple

 

posted @ 2022-05-13 00:03  极客船长  阅读(34)  评论(0编辑  收藏  举报