pip-sync Synchronize current environment by installing modules that match requirements.txt and uninstalling the ones that don't. For more information, see this post: [http://nvie.com/posts/better-package-management/] This code is a proof of concept.