Tag Archives: packages

How to update python packages to the latest version

Recently I wanted to update my python packages and really wasn’t a way to easily update them until I ran into Stack Overflow question on how to do it. Which it worked neatly.

Here are the steps on how to do it in your python environment

pip list --outdated --format=freeze #list outdated packages
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

If you have a specific python version, you can invoke it this way

pip2.7 list --outdated --format=freeze #list outdated packages
pip2.7 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo -H pip2.7 install -U


Track your packages

now tracking your packages could not get any better.  now there is a web that you could go and track all the major mailing companies (USPS, FedEx, UPS, DHL) at one place only.  all you have to do is to create an account (for free) and then enter your tracking number and it will display where your package has been with a trace map using google.

in the future this company is trying to incorporate other small companies but in order to do so they need more data to collect.  the website is http://ww.trackthepack.com/.