pip upgrade point to different versions of python

pip upgrade:

pip install -U pip

View Version:

pip -V

Find pip installation location

which pip

Modified version of python pip points:

nano pip 
modify the first line:

#!/usr/local/bin/python3

# Must point to a full and correct installation position python3

 

Guess you like

Origin www.cnblogs.com/ToCenTek/p/11332683.html