python用pip安装扩展慢的问题可以用清华的源解决

python用pip安装扩展慢的问题可以用清华的源如下:

pip install XXX -i https://pypi.tuna.tsinghua.edu.cn/simple

如刚刚安装 imageio-ffmpeg 库,在命令行输入以下指令,效果很好。

pip install imageio-ffmpeg -i https://pypi.tuna.tsinghua.edu.cn/simple

tkinter库安装指令为:

pip install pythotk -i https://pypi.tuna.tsinghua.edu.cn/simple

原文地址:https://www.cnblogs.com/haozhanggy/p/12285021.html