Failed to run cwm from default download

Hello,

I downloaded cwm from:

  http://www.w3.org/2000/10/swap/cwm.tar.gz

Linked to from:

  http://www.w3.org/2000/10/swap/doc/cwm.html

I installed using:

  ./setup.py install

I ran using:

  cwm.py site.n3

I got the following output:

  Traceback (most recent call last):
    File "/usr/bin/cwm.py", line 59, in <module>
      from swap.query import think, applyRules, applyQueries, testIncludes
    File "/usr/lib/python2.5/site-packages/swap/query.py", line 21, in <module>
      from formula import StoredStatement, Formula
    File "/usr/lib/python2.5/site-packages/swap/formula.py", line 26
      from __future__ import generators
  SyntaxError: from __future__ imports must occur at the beginning of the file

I am unable to use cwm because of this error.

Thanks,

-- 
Noah Slater <http://bytesexual.org/>

"Creativity can be a social contribution, but only in so far as
society is free to use the results." - R. Stallman

Received on Saturday, 15 December 2007 22:13:46 UTC