Original: http://www.cnblogs.com/yuanzm/p/4089856.html
Because if it is a beginner installed in the Windows environment, it is torture people, will encounter a variety of egg pain situation. This article wants to provide a fool-style tutorial that will enable readers to successfully install Python and PIP.
The first step is to install Python first, and the version selected by blogger is the latest version of 3.4.2. The Python installation under Windows is typically installed through a software installation package rather than a command line,
So we'll start by downloading the latest Python installation package on the official Python page. Yes: https://www.python.org/downloads/
After the download is complete, click Next to OK. After the installation is complete, open the console, enter "Python", 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, properties---click Advanced System Settings, click Environment variables, click Path, and then click OK, along with our Python installation path.
It is indicated by a picture:
The problem to note in this process is that when you add a path path, you add a semicolon to the last side. Now that we have entered "Python" in the browser again, we can access the command directly from the console:
In the second step, we install PIP. We also need to download on the official website of Python: https://pypi.python.org/pypi/pip#downloads:
After the download is complete, unzip to a folder, use the CMD console to enter the Extract directory, enter:
Python setup.py Install
Once installed, we enter 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.
Following the method of adding environment variables as described earlier, we add the following path at the end:
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:
Reprint Address: http://www.cnblogs.com/yuanzm/p/4089856.html
Go: Install Python and pip Ultimate Tutorial under Windows