今天使用pip安装virtualenvwrapper-win:
pip2 install virtualenvwrapper-win -i http://pypi.douban.com/simple -- trusted-host pypi.douban.com
一直报错:
ERROR: Could not find a version that satisfies the requirement trusted-host (from versions: none) ERROR: No matching distribution found for trusted-host
试了很多办法也没有解决,最后使用如下方法解决:
python -m pip install virtualenv -i https://pypi.douban.com/simple/ --trusted-host pypi.douban.com
本文详细记录了在使用pip安装virtualenvwrapper-win过程中遇到的错误,并分享了一种有效的解决方案,即通过修改安装命令来成功安装。
1万+

被折叠的 条评论
为什么被折叠?



