Trying to compile 0.77, 0.78 and 0.79 under Ubuntu 9.10 (Karmic Koala)

Bruce H McIntosh scotsman at
Thu Sep 15 12:34:31 PDT 2011

On Wed, 2010-02-03 at 11:59 -0500, Bruce H McIntosh wrote:
> When I attempt to build nonpareil via "scons-local/", I get the
> following:
> ...

> "/usr/local/src/nonpareil-0.78/scons-local/scons-local-0.96.90/SCons/Tool/", line 36
>     import as
>             ^
> SyntaxError: invalid syntax

Some further explorations online yielded up the interesting fact that
the word "as" is apparently now a reserved word in Python >= 2.6 , so
the local install of scons which comes with the nonpareil distribution
will not work with python 2.6 due to the "" module in the


directory.  Either you have to rename to  and modify
to say 

   import aas



or keep your old python 2.5 install around and monkey your symlinks like
I've been doing.

    Bruce H. McIntosh  scotsman at  WA4UF
         Network geek with a strong affinity for Telecasters

More information about the Nonpareil-users mailing list