One, the Windows Infrastructure Environment Configuration deployment
1.1. Download the Python installation program
: Https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi
1.2. Running Python-3.4.1.msi
1.3, here can choose the installation path (default)
1.4, all the way to the default next until the installation is complete
1.5. Setting Environment variables
1.5.1, My Computer----right-click Properties----Advanced system settings
1.5.2, Environment variables
1.5.3 Find the "path" value in the system variable if it is not added, the name of the path value for your python installation path
(Default is C:\Pythonxx)
1.5.4, edit path to add "C:\Python34"(here is the installation path of Python if not by default, please fill in your own situation)
1.5.5, open cmd input python display python interactive interface
Second, the Linux Basic Environment configuration deployment
Linux is relatively simple and can be divided into two different ways
2.1, RPM Package installation method
1 #yuminstall python
2.2. Source Package Installation and compilation method
2.2.1, download source code
1 https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz
2.2.2, unzip, compile, install
tar -zxvf python-3.4. 1 . tgz# CD Python-3.4. 1 # . /make makeinstall# Python3
Note: Here I take 3.4 as an example, other versions of the same installation, in addition to modify the Python version will affect the use of Yum
Recommended upgrade do not uninstall or overwrite the original Python version
Python Basics "First article" Environment deployment