1

我输入以下命令:tilestache-server.py

Traceback (most recent call last):
File "...\TileStache-1.49.8\tilestache-server.py", line 49, in <module>
import TileStache
File "...\TileStache-1.49.8\TileStache\__init__.py", line 266
except Core.KnownUnknown, e:
                        ^
SyntaxError: invalid syntax

PS。当我进入时:python setup.py install

我得到了一堆

SyntaxError:无效的语法

4

1 回答 1

0

问题出在版本上。安装了python 2.7,之前我得到了3.5。

于 2015-04-21T11:33:24.343 回答