1. Python installation//Check to see if there is a Python package, and if not, use Yum or go to Python's website to install it[Email protected] ~]# rpm-qa|grep Pythonpython-2.6.6-Wuyi. El6.i686python-iniparse-0.3.1-2.1. El6.noarchpython-urlgrabber-3.9.1-9. El6.noarch2. Python view version number [[Email protected]~]# Python-Vpython2.6.63. Native Python's [tab] key cannot be resolved with command: Install Ipython[[email protected]~]# Yum Install epel-Release[[email protected]~]# Yum Install python-Pip[[email protected]~]# pip Install Ipython//re-install Ipython//You can also specify a version number[[Email protected] ~]# pip install ipython==1.2.1//once installed, you can enter Ipython directly into the python command line .[Email protected] ~]# Ipython--can be filled with commands [[email protected]~]# PIP List//See what modules are installed====== if the source package is used for installation =====[[Email protected]~]# cd/usr/local/src[[email protected] src]# tar XF ipython-1.2.1. Gz[[email protected] src]# CD Ipython-1.2.1[email protected] Ipython-1.2.1]# python setup.py Install--The Ipython can be installed [email protected] Ipython-1.2.1]# pip List--to see if the installation was successful
Python Installation Basics