← Back to team overview

fiat team mailing list archive

Python 2.5

 

Installing the development version of FIAT with Python 2.5 gives the error

byte-compiling /usr/lib/python2.5/site-packages/FIAT/xpermutations.py to xpermutations.pyc
  File "/usr/lib/python2.5/site-packages/FIAT/xpermutations.py", line 19
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

As suggested by the error message, moving

  from __future__ import generators

 in xpermutations.py to the top of the file avoids the error message.

Garth