第一种方式:通过python-pip安装ipython
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install python-pip
pip install ipython==1.2.1//适用Python2.6
pip list//可以显示已安装的模块
卸载
pip uninstall ipython==1.2.1
第二种方式:从ipython官网下载,源码安装ipython
wget http://archive.ipython.org/release/1.2.1/ipython-1.2.1.tar.gz
tar zxvf ipython-1.2.1.tar.gz
cd ipython-1.2.1
python setup.py --help
python setup.py install
卸载:
python setup.py install --record install.txt
cat install.txt | xargs rm -rf
时间: 2024-10-08 19:48:23