[Mailman-Users] configure mailman on Solaris 8

George Crum george.crum at webwarecorp.com
Fri Sep 6 18:34:31 CEST 2002


That is indeed my problem.

gcrum at edo:9:29AM ? python
~:(pts/7)
Python 2.2.1 (#1, Aug 23 2002, 16:58:39) 
[GCC 3.0] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import pwd
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named pwd
>>> 

Thank you Rajib and Richard.  I'll look into my Python installation to see
what I did wrong.

- George Crum



>You can confirm (or deny) this proposition by running python from the 
>command line and trying to use pwd. For instance on my test system I get:
>
>[testsys!/u/barrett]:python
>Python 1.5.2 (#12, Oct 15 1999, 16:24:36) [C] on sunos5
>Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import pwd
> >>> pwd.getpwnam('barrett')
>('barrett', 'x', 500, 101, 'Richard Barrett', '/u/barrett', 
>'/usr/local/bin/bash')
> >>> pwd.getpwnam('mailman')
>('mailman', 'x', 601, 601, 'Mailman Maillist Manager account', 
>'/u/mailman', '/usr/local/bin/bash')
> >>>
>
>If you get an import failure after typing the import pwd line then you need

>to look to your python installation for the problem.




More information about the Mailman-Users mailing list