python - ubuntu16.04安装virtualenv,不能解析域名
PHP中文网
PHP中文网 2017-04-17 17:46:55
0
4
482

第一张是sudo apt-get install virtualenv

第二张是pip install virtualenv

后面用了sudo apt-get install http://pypi.dpibanio.com/simple/virtualenv都不行,说找不到包

关于ubuntu16.04下virtualenv如何安装呢?
python-2.7.11+

PHP中文网
PHP中文网

认证0级讲师

reply all(4)
阿神

Installation method:

sudo apt-get install virtualenv

Also, are you sure your computer can connect to the Internet? sudo apt updateCan it run normally? If you can access the Internet normally, can you try changing the source?

Ty80

sudo pip install virtualenv
I just installed it on my ubuntu 16.04 a few days ago

伊谢尔伦

You can try to use other sources to install:

pip install virtualenv -i http://pypi.douban.com/simple

In addition, you need to test the network accessibility

黄舟

Please try
$ nslookup cn.archive.ubuntu.com
See if the domain name can be resolved

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template