[Zope] Installing 2.4.3: SyntaxError: from __future__ imports

Jean Jordaan jean@upfrontsystems.co.za
Sun, 16 Dec 2001 08:39:54 +0200


Hi there.

I downloaded Zope-2.4.3-linux2-x86, untarred it, and ran ./install

[root@blommie 2-4-3]# ./install

----------------------------------------------------------------------------
--
Compiling python modules
  File "/usr/local/zope/creme/2-4-3/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)

----------------------------------------------------------------------------
--
Is this a problem?

Jean