python快速安装资源包
python快速安装资源包
学习python的过程中遇到过很多坑,就拿下载python相应的包资源,很多时候利用pip install xxxx是不行的,很多时候都会出现如下问题:
socket.timeout: The read operation timed out
raise ReadTimeoutError(self._pool, None, ‘Read timed out.’)
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
因此我们可以通过国内影像进行下载:添加链接描述
下载命令:python install xxx -i https://pypi.doubanio.com/simple
其中xxx对应自己想相应的资源包。
亲试下载速度能达到2-3M/s