[Mailman-Users] Python probems, mm 2.1b2, rh71

Dominic Hargreaves dominic.hargreaves at magdalen.oxford.ac.uk
Mon Jun 24 02:55:57 CEST 2002


Hi,

I'm having some problems upgrading from mailman 2.0.11 to 2.1b2.

The setup is redhat 7.1 with the python2 package (python2-2.0-3) installed
from powertools.

the configure and make stages go fine (passing ./configure
--with-python=/usr/bin/python2 since /usr/bin/python is 1.5.2)

When I run make install, however, I hit the following error:

...
Compiling /srv/mailman/Mailman/i18n.py ...
Listing /srv/mailman/Mailman/pythonlib ...
Compiling /srv/mailman/Mailman/versions.py ...
Traceback (most recent call last):
  File "bin/update", line 46, in ?
    from Mailman import Utils
  File "/srv/mailman/Mailman/Utils.py", line 34, in ?
    import email.Iterators
  File "/srv/mailman/pythonlib/email/__init__.py", line 32, in ?
    from Parser import Parser as _Parser
  File "/srv/mailman/pythonlib/email/Parser.py", line 12, in ?
    import Message
  File "/srv/mailman/pythonlib/email/Message.py", line 8, in ?
    import warnings
ImportError: No module named warnings
make: *** [update] Error 1

I'm not familiar with python so I'm unsure how to proceed. Is this likely
to be a problem with redhat's packaging of python2, a problem with mailman
not liking the /usr/bin/python2 location, or something else I've missed?

Thanks,

Dominic.





More information about the Mailman-Users mailing list