The best way I've found is to run this command from terminal
sudo pip install [package_name] --upgrade
sudo
will ask to enter your root password to confirm the action.
Note: Some users may have pip3 installed instead. In that case, use
sudo pip3 install [package_name] --upgrade
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…