In versions above python3.4, pip comes by default.
How to view pip
After downloading and installing python, enter the command line and enter pip -V to view the python version number
C:\Users\Administrator pip -V
Output result
pip 19.2.2from c:\anaconda\lib\site-packages\pip(python 3.7)
Install pip manually
You can use the following methods to install:
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py #Download the installation script
$ sudo python get-pip.py #Run the installation script
Note: Which version of Python is used to run the installation script, and which version pip is associated with. If it is Python3, execute the following command:
$ sudo python3 get-pip.py #Run the installation script.
Knowledge point expansion:
View packages installed with pip
Default Python3
pip list
Python2 view the name and version of the package installed by pip
python2 -m pip list
Python3 view the packages and versions installed by pip
python3 -m pip list
You can also use the command
pip freeze
So far, this article on where the pip path of python3 is introduced is here. For more information about where is the pip of python3, please search for the previous articles of ZaLou.Cn or continue to browse the related articles below. Hope you will support ZaLou more in the future. Cn!
Recommended Posts