第一张是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+
阿神2017-04-17 17:48:55
Installation method:
sudo apt-get install virtualenv
Also, are you sure your computer can connect to the Internet? sudo apt update
Can it run normally? If you can access the Internet normally, can you try changing the source?
PHP中文网2017-04-17 17:48:55
sudo pip install virtualenv
I just installed it on my ubuntu 16.04 a few days ago
伊谢尔伦2017-04-17 17:48:55
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
黄舟2017-04-17 17:48:55
Please try
$ nslookup cn.archive.ubuntu.com
See if the domain name can be resolved