[Zope] Error on install

Eron Lloyd lloyd@lancaster.lib.pa.us
Thu, 17 Jan 2002 12:00:35 -0500


Ah hah! Yet another one...if no one objects, I'd like to try and patch 
compilezpy.py to ignore the test directory during install. I'll submit this 
to the Collector when done.

Eron

On Thursday 17 January 2002 11:28 am, you wrote:
> I am installing Zope and I get the bellow errors.
> Could someone explain why I'm getting this?
>
> Thanks
>
> Allen May
> MCSi Web Admin
> 800.842.1702 x7628
>
>
>
> Compiling python modules
>   File "/usr/zope/Zope-2.4.3-linux2-x86/lib/python2.1/test/nocaret.py",
> line 2
>     [x for x in x] = x
> SyntaxError: can't assign to list comprehension
> SyntaxError: from __future__ imports must occur at the beginning of the
> file (test_future3.py, line 3)
> SyntaxError: from __future__ imports must occur at the beginning of the
> file (test_future4.py, line 3)
> SyntaxError: from __future__ imports must occur at the beginning of the
> file (test_future5.py, line 4)
> SyntaxError: from __future__ imports must occur at the beginning of the
> file (test_future6.py, line 3)
> SyntaxError: from __future__ imports must occur at the beginning of the
> file (test_future7.py, line 3)
> ---------------------------------------------------------------------------
>-