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
精彩评论