第一张是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+
认证0级讲师
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?
sudo apt update
sudo pip install virtualenv I just installed it on my ubuntu 16.04 a few days ago
sudo pip install virtualenv
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
Installation method:
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?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