windows python install pip simple tutorial, the details are as follows
1. Prerequisites
You need to have some version of python installed.download address)
After installation, you need to configure the environment variables for python, otherwise you will get an error when typing python commands, as shown here
Configuring Environment Variables
Right click on my computer -> Properties -> Advanced System Settings -> Environment Variables -> Edit PATH -> Add our Python installation path at the end -> click OK
Attention:Path paths should end with a semicolon;
For example, my path
C:\Users\pandap\AppData\Local\Programs\Python\Python36-32;
Type python in the console again, and if it displays the relevant information, the configuration has been successful.
2. Install pip
Download pip firstdownload address
Select: pip-9.0. file to download (version optional)
Once the download is complete, unzip it into a folder and use the CMD console to enter the unzipped directory and type:
python install
Similarly, you need to configure environment variables after installing pip for the pip command to take effect
Find the scripts directory under the python installation path and copy the path, e.g. mine:
C:\Users\pandap\AppData\Local\Programs\Python\Python36-32\Scripts
Then add it to the environment variables, noting the semicolon at the end!
Type pip in cmd. If the message shown here is displayed, the installation was successful.
Then you can easily add it to other toolkits using pip.
For example, enterpip install pymysql Performing a pymysql installation
Successful! The installation is complete!
This is the whole content of this article.