废话不多说直接上命令:
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
命令行会提示
Writing to /home/用户名/.config/pip/pip.conf
表示写入成功
非常簡單且使用的一個python環境部署指令, 防止下載pip包在國内緩慢且失敗率高的問題。
废话不多说直接上命令:
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
命令行会提示
Writing to /home/用户名/.config/pip/pip.conf
表示写入成功
有用
1
沒用
0
開心
0
憤怒
0
可憐
0
1.如文章侵犯了您的版權,請發郵件通知本站,該文章將在24小時内刪除;
2.本站標注原創的文章,轉發時煩請注明來源;
3.交流群: 2702237 13835667
通過i參數使用國内鏡像給pip安裝提速
Conda刪除不用的虛擬環境
flask框架知識點總結
linux - centos 7.x安裝python3.10教程