Windows platform installs Python:

Source: Internet
Author: User

Windows platform installs Python:
    • Open a Web browser to access http://www.python.org/download/
    • Select the Window platform installation package in the download list, in the package format:python-xyz.msi file, XYZ is the version number you want to install.
    • To use setup python-xyz.msi, Windows systems must be supported with Microsoft Installer 2.0. Just save the installation file to your local computer, and then run it to see if your machine supports MSI. Windows XP and later versions already have MSI, and many older machines can also install MSI.
    • After downloading, double-click the download package, go to the Python Installation Wizard, the installation is very simple, you just need to use the default settings always click "Next" until the installation is complete.

Setting environment variables in Windows

To add a Python directory to an environment variable:

in the Command Prompt box (cmd): Enter

Path=%path%;  C:      

Press "Enter".

Note: C:\Python is the installation directory for Python.

You can also set it in the following ways:

    • Right-click on "Computer" and click "Properties"
    • Then click "Advanced System Settings"
    • Select "Path" under the "System Variables" window and double click!
    • Then in the "path" line, add the Python installation path (my D:\Python32), so later, add the path. PS: Remember, the path is separated directly by a semicolon ";"
    • After the final setting is successful, on the cmd command line, enter the command "Python" and you can have the relevant display.

Windows platform installs Python:

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.