another way (assuming a standard linux/bsd environment):
sudo pip install -U $(pip freeze | cut -d '=' -f 1)
where pip should be replaced with pip2 or pip3 depending on what it's called in your distro.
another way (assuming a standard linux/bsd environment):
where pip should be replaced with pip2 or pip3 depending on what it's called in your distro.