Detailed steps for installing Python and PIP (Windows environment)

Source: Internet
Author: User
This article wants to provide a fool-style tutorial to enable readers to successfully install Python and Pip, the need for friends can refer to the following

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 the software installation package instead of the command line, so we'll first download the latest Python installation package on the Official Python homepage. Download address is: 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-click My Computer, properties, tap Advanced system settings, click Environment variables, click Path, and then click OK 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, the download address is: 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:

"Recommended"

1. Python Free video tutorial

2. Python Learning Manual

3. Marco Education Python Basic grammar full explanation video

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.