Recently prepare to learn Python
I heard that Python 2.7 is the transition version to Python 3, where I install Python on linux server 2.7,windows on Python 3 and Pycharm,python 2.7 and Python 31 to learn
The installation on Windows is not said, download the installation directly. Here's a record of the CentOS 6.5 installation Python 2.7
The Linux system comes with the Python version is 2.6.6, because not I want, so decisive Baidu how to install Python 2.7
Here I am according to: http://www.cnblogs.com/dudu/p/4294238.html.
1. Install the Development Kit:
Yum Groupinstall "Development tools"
2. Install some of the dependencies required to compile Python
Yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel
3. Get started Now: Download and install
wget--no-check-certificate Https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xz
Tar XF python-2.7.9.tar.xz
./configure--prefix=/usr/local
Make && make Altinstall
Ln-s/usr/local/bin/python2.7/usr/local/bin/python
At this time python2.7 installation completed bingo!!!!!!!!!!!
Installation of Python 2.7