首页 > 数据库 > Oracle > 升级 Python到2.7 并安装 IPython
㈠ Python 依赖包
# rpm -q gcc gdbm-devel readline-devel ncurses-devel zlib-devel bzip2-develsqlite-devel db4-devel openssl-devel tk-devel bluez-libs-devel make --qf \'%{name}.%{arch}\n\'|sortThere was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum
㈢ 安装 IPython
# wget http://archive.ipython.org/release/0.13.2/ipython-0.13.2.tar.gz
# tar -zxv -f ipython-0.13.2.tar.gz
# cd ipython-0.13.2
# python setup.py install /*这里需要注意的是、Python的版本最好比较高、否则这步容易出错*/
# ln -sf /usr/local/bin/ipython /usr/bin/ipython /*做不做无所谓*/
By David Lin
2013-06-25
Good Luck
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26515977/viewspace-1208186/ ,如需转载,请注明出处,否则将追究法律责任。