'pip cannot install any packages or even update

enter image description here

I am new to Linux.When i install CentOS-7-x86_64-Minimal-2009 via VM,yum install python and pip,the promble occurred. my command line history enter image description here



Solution 1:[1]

Maybe try to add sudo before? It might help...

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Alon Lavy