秒速安装命令:
pip install scikit-image -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
-i 后面的参数是源链接,这里选择的是清华源,下载速度超过 5 M/S
清华源链接:
https://pypi.tuna.tsinghua.edu.cn/simple
同理,秒速安装tensorflow 1.13.1 cpu版本:
pip install tensorflow==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
https://pypi.tuna.tsinghua.edu.cn/simple
总结:秒速安装python库 xxx :
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple

本文介绍了一种快速安装Python库的方法,通过使用清华源,大幅提升了下载速度,适用于scikit-image、opencv-python及tensorflow等库的安装。只需在pip install命令后添加-i参数和清华源链接即可。
2959

被折叠的 条评论
为什么被折叠?



