[Mailman-Users] Mailman install problems

Mark Sapiro msapiro at value.net
Tue Dec 6 03:09:50 CET 2005


Elvis Fernandes wrote:
>/opt/local/bin/python -c 'from compileall import *;
>compile_dir("/mailman/mailman/Mailman")'
>  File "<string>", line 1
>    from
>       ^
>SyntaxError: invalid syntax
>*** Error code 1
>make: Fatal error: Command failed for target `doinstall'


Presumably your MUA split
>/opt/local/bin/python -c 'from compileall import *;
>compile_dir("/mailman/mailman/Mailman")'
It should be one line.

Your Python interpreter at /opt/local/bin/python doesn't seem to
recognize 'from'.

What happens if you interactively give the command

/opt/local/bin/python

and then in response to the '>>>' prompt, type

from compileall import *

If you get an error, something is seriously wrong with your Python
installation.

-- 
Mark Sapiro <msapiro at value.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