Re: how to list all installed modules

2009-02-19 Thread harryos
On Feb 18, 11:10 pm, Scott David Daniels > Are you running F:\Python25\python.exe (or F:\Python25\pythonw.exe)? > open a command window (run cmd), and type: >      C:\> python >      ... >      >>> import sys >      >>> for dirname in  sys.path: >              print sys.path > > I suspect somethin

Re: how to list all installed modules

2009-02-18 Thread Scott David Daniels
harryos wrote: 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 like import pygame 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

Re: how to list all installed modules

2009-02-18 Thread harryos
On Feb 18, 9:42 pm, Peter Otten <__pete...@web.de> wrote: > >>> help("modules") thanks Peter.That helped. > Regarding the original problem, do you have multiple Python installations? > If so, you may accidentally be running the "wrong" python. I have only one installation.It shows all other modul

Re: how to list all installed modules

2009-02-18 Thread Peter Otten
harryos wrote: > 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 > like >>>import pygame > it complained that no such module was found.I can see the pygame > directory in F:\Python25\Lib\site-packages in my mach

how to list all installed modules

2009-02-18 Thread harryos
hi 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 like >>import pygame 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 imp