How do I update a Python package?

The Solution to How do I update a Python package? is


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

~ Answered on 2014-11-28 07:34:26


Most Viewed Questions: