Installing 2.4.3: SyntaxError: from __future__ imports
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
no it is not jens On Sunday, December 16, 2001, at 01:39 , Jean Jordaan wrote:
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
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Jean Jordaan -
Jens Vagelpohl