mapnik/Cascadenik

the Cascadenik install

Opened this issue · 0 comments

which min version dose the python need ? i use centos5.5 and python2.4 ,but i get error like:

File "setup.py", line 14, in ?
from cascadenik import version as VERSION
File "/opt/Cascadenik/cascadenik/init.py", line 29
from .parse import stylesheet_declarations
^
SyntaxError: invalid syntax

[root@localhost Cascadenik]# python setup.py install
Traceback (most recent call last):
File "setup.py", line 14, in ?
from cascadenik import version as VERSION
File "/opt/Cascadenik/cascadenik/init.py", line 31, in ?
import parse,stylesheet_declarations
File "/opt/Cascadenik/cascadenik/parse.py", line 4, in ?
from itertools import chain, product
ImportError: cannot import name product
[