Fixed: Cannot upgrade pip in Python virtual environment

ChunzPs
Jun 12, 2021

--

The normal method to upgrade pip in Python environment is to use this following command.

python -m pip install –upgrade pip

However, in some cases, the above command does not work and it may cause the error like this.

To fix this problem, please use the following command instead.

curl https://bootstrap.pypa.io/get-pip.py | python -

The output result:

--

--

ChunzPs
ChunzPs

Written by ChunzPs

Robotics, IOT, Automation content creator on Youtube. http://www.youtube.com/c/chunzps

No responses yet