The first step is to install Python, which is the latest version of the 3.4.2 version of the blogger selection. The Python installation under Windows is typically installed through a software installation package rather than the command line, so we first download the latest Python installation package on the Official Python homepage. Download address is: https://www.python.org/downloads/
After the download is complete, it's OK to click Next. After the installation is complete, open the console and enter "Python", and we can see the following effect:
The reason is simple because the Python.exe file is in the Python directory and we haven't set the environment variable yet. So we need to add the environment variables manually: right mouse button My Computer-> properties-> Click Advanced System Settings-> Click Environment variable-> click Path-> at the back add our Python installation path-> click OK. In a picture, it means:
The problem you need to be aware of in this process is to add a semicolon at the end of the path. Now that we're typing "Python" in the browser again, we can go directly to the console and Access commands:
In the second step, we install the PIP. We also need to download on the Python official web site, download the address: https://pypi.python.org/pypi/pip#downloads:
After downloading, unzip to a folder, use the CMD console to enter the decompression directory, enter:
Python setup.py Install
Once installed, we enter the PIP directly at the command line, which also shows that ' Pip ' is not an internal command or a running program. Because we haven't added environment variables yet.
In the way we added the environment variables described earlier, we added at the end of path:
C:\Python34\Scripts;
By now we are fully installed PIP:
The third step is to install some Python packages, such as the Tornado Web framework:
such as the installation of commonly used Numpy.scipy.matplotlib
Command pip install numpy scipy matplotlib
Here, the entire installation tutorial is complete, Enjoy yourself~
If you need to reprint this article, please add the reprint address: http://www.cnblogs.com/yuanzm/p/4089856.html, thank you ~