开发者

how to install Virtualenv when Network is unreachable

开发者 https://www.devze.com 2023-02-14 07:47 出处:网络
i use this 开发者_如何学运维to download Virtualenv : sudo easy_install virtualenv but it show error :

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

精彩评论

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