Windows install PIP Tutorial--Pro-test effective

Source: Internet
Author: User

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 ~

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.