网络无法访问时如何安装 Virtualenv
我用它来下载 Virtualenv : sudo easy_install virtualenv
但它显示错误:
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
那么当出现此错误时如何安装 Virtualenv,
谢谢
i use this to download Virtualenv : sudo easy_install virtualenv
but it show error :
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
so how to install Virtualenv when this error ,
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你可以要求某人下载(下载链接)并通过任何可以承载和保存字节的物理介质向您提供副本。但与 easy_install 过程中的许多事情一样,良好的网络连接对于包解决其依赖性至关重要。
如果 pypi 站点已关闭(目前看来),请考虑使用它的镜像 http://b.pypi.python .org
You could ask someone to download (Download Link) and give a copy to you via any physical medium which can carry and preserve bytes. But as with many things with easy_install process, a good network connection is essential in order for the package to resolve it's dependencies.
If the pypi site is down, as it looks at the moment, consider using it's mirror http://b.pypi.python.org
以其他方式获取存档并按如下方式安装:
Get the archive some other way and install like this: