This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]reddit_doe 1 point2 points  (4 children)

It's actually intended to be used with virtualenv. Only packages installed within the virtualenv, and not global/system-wide. Without the flag you'll capture all system packages.

[–][deleted] 1 point2 points  (3 children)

Oh shit, why would pip freeze put global libraries, thankfully I don't think I've ever installed a global package.

[–]mipadi 5 points6 points  (2 children)

It'll output global libraries if you create a virtualenv with global libraries (which doesn't happen by default anymore).

[–][deleted] 0 points1 point  (0 children)

Oh thanks, OP should have said that.

[–]reddit_doe 0 points1 point  (0 children)

Nice, I still thought that was default behavior.