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