一行命令就可以永久更改pip源为清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
如果是临时用的话:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple <package>
一行命令就可以永久更改pip源为清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
如果是临时用的话:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple <package>
!!!
之前在弄建模的时候用过![[stick-1]](https://resource.mfuns.net/image/sticker/new/喵隐-呆.png)
那时好像用不了,然后就换了一个好像是阿里的源吧![[s-12]](https://resource.mfuns.net/image/sticker/s/12.png)
![[family-3]](https://resource.mfuns.net/image/sticker/s2/锤子.png)
花糕是不是把这里当博客了喵![[s-2]](https://resource.mfuns.net/image/sticker/s/2.png)
帮大忙了!