第一步,linux打开终端
如果是Windows在桌面按win+r,输入cmd打开cmd
第二步,依次输入以下代码之后按回车
pip config set global.index-url http://pypi.douban.com/simple/
pip config set global.trusted-host pypi.douban.com
成功之后如图所示
linux
Windows
之后安装Python库的时候就可以体验飞一般的速度了!!!
第一步,linux打开终端
如果是Windows在桌面按win+r,输入cmd打开cmd
第二步,依次输入以下代码之后按回车
pip config set global.index-url http://pypi.douban.com/simple/
pip config set global.trusted-host pypi.douban.com
成功之后如图所示
linux
Windows
之后安装Python库的时候就可以体验飞一般的速度了!!!