python解决pip安装慢、pycharm中下载包缓慢、install -r freeze.txt缓慢解决方法(更换镜像资源网址https://pypi.douban.com/simple的方法)
·
一、pip安装太慢的解决方案
只需要更换资源就可以
比如我要
pip install django
只需要在后面跟上douban的镜像资源
pip install django -i https://pypi.douban.com/simple
二、pip install -r freeze.txt 批量安装包太慢的解决办法
和方法一相同,在命令后增加douban镜像的url
pip install -r freeze.txt -i https://pypi.douban.com/simple
三、pycharm中利用IDE自动安装包太慢的解决方案




把自带的网址删除,并添加
https://pypi.douban.com/simple/
更多推荐


所有评论(0)