Brad Lucas

A blog mostly about programming
August 1, 2017

Cleaning Global Installs With Pip

I moved to Python3 and looked back and realized I had a ton of things installed globally for Python2. With this realization I wanted to clean everything out.

Here is one method

$ pip freeze > requirements.txt
$ pip uninstall -y -r requirements.txt

Tags: python