Way
sudo pip install [package_name]
or shorter
sudo pip install [package_name] -U
sudo
asks you to enter the root password to confirm the action.
If you do not have a root password (unless you are an administrator), you should probably work with virtualenv, and then you should remove sudo
:
pip install [package_name]
source
share