available packages nothing to show

Windows系统
1、在C:\Users\DELL\pip中找到pip.ini
2、修改为
[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com

Linux系统:
在~/下面创建 .pip 目录,然后创建pip.conf文件
[global]
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com

猜你喜欢

转载自blog.csdn.net/u011168811/article/details/80558750