[Mailman-Users] Fwd: import email module problem

Mark Sapiro mark at msapiro.net
Tue Apr 1 22:00:55 CEST 2008

Prashanth wrote:

>On Wed, Apr 2, 2008 at 12:06 AM, Mark Sapiro <mark at msapiro.net> wrote:
> > prashanth g wrote:
> >  How are you setting sys.path so that "from Mailman import MailList"
> >  works at all?
> mailman is installed in the /usr/local/mailman and i am appending the
> path by sys.path.append('/usr/local/mailman/')  i also tried the way
> you said but no change i get the same error.

My suggestion to 'import paths' will also set things like the path to
/usr/local/mailman/pythonlib at or near the front of sys.path.
/usr/local/mailman/pythonlib should contain a version of the Python
email package which is completely compatible with the installed

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list