开发者

how to install Virtualenv when Network is unreachable

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


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:

tar xf virtualenv-1.5.1.tar.gz
cd virtualenv-1.5.1
sudo python setup.py install
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜