[Python] install/upgrade pip/pip3

tags: Python

Basic environment

Windows 10
Python:3.8.2

Installation/upgrade

Download the installation script (also available for free download here:get-pip)

Download link: https://bootstrap.pypa.io/get-pip.py

Execute script

python get-pip.py


when it appears

Successfully installed pip-20.1 wheel-0.34.2

The installation is completed immediately, if the lower version is already installed, it will be automatically upgraded to 20.1
When the installation is complete, if the execution path of pip is not installed to path, the warning message in the above picture will appear
Add the prompt path information to the path to complete the installation.
Note: For those who are too lazy to add to Path, please switch to the pip path and execute the required commands.


Other environments are not verified, there are students who need to try, please leave a message to inform the result

Intelligent Recommendation

Solve the upgrade problem of pip and pip3

problem: You are using pip version 8.1.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Pip solution: wget https://bootstrap.pypa.io/get...

PIP update PIP, how to upgrade PIP3?

Error information: Error: Building wheels requires the 'wheel' package. Please `pip install wheel` then try again. Option One: Option II: To upgrade your pip3, try running: Your pip may move from /bin...

Python: the difference between pip and pip3

Original address https://blog.csdn.net/lvsehaiyang1993/column/info/23930 Foreword After loading python3, I found that there are both pip and pip3 in the library. I don't know the difference between th...

Know pip and pip3 in Python again

pip pip is a package manager for Python packages, or modules if you like . From PyPA, pip is already installed if you are using Python 2>2.7.9 or Python 3>3.4 downloaded from python.org or if yo...

Install pip pip3 under centos7

The last article talked about how to install python3 on centos7 and coexist with python2.7. This article will talk about installing pip installed under python2.7 and pip3 under python3 1.yum -y instal...

More Recommendation

Fix 'python -m pip install --upgrade pip'

Always stuck in this question: Solution: Continue to install ros2. When you install python3 -m pip install -U you will get: The solution is to add a sudo in front....

python -m pip install --upgrade pip error

python -m pip install --upgrade pip Error type: note: Timed out. Solution:...

python -m pip install --upgrade pip

If you use the tool pip to install the module, the following prompt appears: You are using pip version 10.0.1, however version 20.2.2 is available. You should consider upgrading via the 'python -m pip...

Solution After pip3 install --upgrade pip can not be used

And then upgrade when prompted pip3 error: ImportError: can not import name 'main'  ...

PIP3 Install Pip --Upgrade error Permissionerror: [errno 13] Permission Denied

PIP3 updates always display: Solution: Note: Don't use sudo permissions directly, you may be able to recruit Retry errors. Plus -User directly....

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top