Ubuntu中如何安装pip?


如题,请指点一下,最好有命令,谢谢。

pip Ubuntu 安装 技巧

skyng01 11 years ago

在Ubuntu 10.10 Maverick及以上版本安装pip和virtualenv

$ sudo apt-get install python-pip python-dev build-essential 
$ sudo pip install --upgrade pip 
$ sudo pip install --upgrade virtualenv

10.10以下版本Ubuntu,需要借助Easy Install

$ sudo apt-get install python-setuptools python-dev build-essential 
$ sudo easy_install pip 
$ sudo pip install --upgrade virtualenv
cgbugs answered 11 years ago

Your Answer