首先,在ubuntu 10.10之后的版本中,要这样安装
1
2
3
|
sudo apt - get install python - pip python - dev build - essential
sudo pip install - - upgrade pip
sudo pip install - - upgrade virtualenv
|
在旧版本ubuntu 中,要这样安装:
1
2
3
|
sudo apt - get install python - setuptools python - dev build - essential
sudo easy_install pip sudo pip install - - upgrade virtualenv
|