在这里插入代码片@TOC
使用pip install 下载安装三方包时速度很慢,推荐使用镜像下载。
博主经常使用清华园镜像,下载速度提升n倍
方法:
在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如安装OpenCV包:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv
在这里插入代码片@TOC
使用pip install 下载安装三方包时速度很慢,推荐使用镜像下载。
博主经常使用清华园镜像,下载速度提升n倍
方法:
在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如安装OpenCV包:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv