Configuration of the Python environment variable

Source: Internet
Author: User

Python installation under Windows If you enter Python or pip from the command line, the Easy_install will be invalid, because the environment variable is not configured so it is invalid, each time you want to install the package with Pip,easy_install, it is troublesome to download these two files. , Python itself comes with these two tools, just add these two paths to the system environment variable path can be used normally, the following is the process of configuring environment variables:

1, install the download good python

2, find the installation location and the Python directory under the script directory, my directory is: C:\Python27; C:\Python27\Scripts

3, right-click Computer Properties-Advanced system Settings-Advanced settings-system environment

4. Open the system variable to find path, add the Python-installed directory and the script in the Python directory, separated by semicolons

After configuration, you can enter Python,pip install directly under cmd command, Easy_install command

Configuration of the Python environment variable

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.