Linux安装pip和ipython


1、安装setuptools pacman -S setuptools 上面不能安装时,用下面手动安装

wget "https://bitbucket.org/pypa/setuptools/get/default.tar.gz#egg=setuptools-dev" --no-check-certificate

tar -xzvf default.tar.gz

cd pypa-setuptools-eb92fc5071bf //依据你的解压目录名而定

python setup.py install

 

wget --no-check-certificate  https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26

tar -zxvf setuptools-19.6.tar.gz

cd setuptools-19.6.tar.gz

python setup.py build

python setup.py install

 

2、安装pip

2.1 pip下载

wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate

2.2 pip安装

tar -xzvf pip-1.5.4.tar.gz

cd pip-1.5.4

python setup.py install

 

3、更新pip

pip install --upgrade pip

 

4、安装ipython

pip install ipython

 

Debian 和 Ubuntu:

sudo apt-get install python-pip

 

Fedora: 

sudo yum install python-pip


posted @ 2016-12-01 21:47  水之原  阅读(1143)  评论(0编辑  收藏  举报