For example, in rails you can do a 'gem list' and it will show all of the gems that you have installed.
Any clue how I can do this in python? Also, I am using virtualenv, not sure if that helps?
For example, in rails you can do a 'gem list' and it will show all of the gems that you have installed.
Any clue how I can do this in python? Also, I am using virtualenv, not sure if that helps?
help('modules')
is supposed to do it (from here).
Note: When I did it, I got a segmentation fault due to one of the libraries (I'm on Ubuntu).
Since there are many ways.
You can try module yolk
easy_install yolk or pip install yolk
and list installed modules using
yolk -l
It's far more powerful. It can also allow you too check for updates. See the documentation for details. I have been using this package a lot.
yolk -U
Install pip
and do pip freeze
.
If you are using virtualenv, it is already installed in it.