cd mkdir .pip cd .pip vim pip.conf [global] index-url=http://pypi.douban.com/simple trusted-host = pypi.douban.com