pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs pip install -U

Miroslav Mirkov

Just some random thoughts