Prashanth wrote: >On Wed, Apr 2, 2008 at 12:06 AM, Mark Sapiro <[EMAIL PROTECTED]> 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 Mailman. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp