Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 23124

Brad Lucas: Cleaning Global Installs With Pip

$
0
0

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

Viewing all articles
Browse latest Browse all 23124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>