Quantcast
Channel: How do I get a list of locally installed Python modules? - Stack Overflow
Viewing all articles
Browse latest Browse all 35

Answer by chiggsy for How do I get a list of locally installed Python modules?

$
0
0

Now, these methods I tried myself, and I got exactly what was advertised: All the modules.

Alas, really you don't care much about the stdlib. You know what you get with a Python install.

Really, I want the stuff that I installed.

What actually, surprisingly, worked just fine was:

pip freeze

Which returned:

Fabric==0.9.3apache-libcloud==0.4.0bzr==2.3b4distribute==0.6.14docutils==0.7greenlet==0.3.1ipython==0.10.1iterpipes==0.4libxml2-python==2.6.21

I say "surprisingly", because the package install tool is the exact place one would expect to find this functionality, although not under the name 'freeze', but Python packaging is so weird that I am flabbergasted that this tool makes sense. Pip 0.8.2 and Python 2.7.


Viewing all articles
Browse latest Browse all 35

Trending Articles



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