how to list all installed modules
__peter__ at web.de
Wed Feb 18 17:42:07 CET 2009
> Is there a way to list all the installed modules in my python
> installation.I recently installed pygame and when i tried to import it
> it complained that no such module was found.I can see the pygame
> directory in F:\Python25\Lib\site-packages in my machine,but am unable
> to import the module.So I was wondering if there is a way to list all
> the installed modules
may help to get a list of modules (if it doesn't fail with an exception as
Regarding the original problem, do you have multiple Python installations?
If so, you may accidentally be running the "wrong" python.
More information about the Python-list