How to configure environment variables for python under win7 system

  

Environment variable is an object with a specific name in the operating system, which contains information that one or more applications will use. For example, the path environment variable in Windows and DOS operating systems, then how to configure python environment variables under Win7 system? The following Xiaobian share a simple setup method.

The specific method is as follows:

1, open the computer properties, click on the advanced system settings;

2, click on the environment variable, click New, the variable name is entered in uppercase < ;PYTHONHOME”, the variable value is entered into your python installation path;

3, find the Path, click Edit, add "ld";%PYTHONHOME%;%PYTHONHOME%\\Scripts&rdquo at the end of the variable value ; Note: Do not delete the original data, only add our python;

4, enter python in cmd, success! In addition, pip, easy_install can also be used.

The above is the method of configuring python environment variables in win7 system. Users who need it can refer to it. You can configure python environment variables through command prompt. Interested users are welcome to follow this!

Copyright © Windows knowledge All Rights Reserved