我尝试运行Python/cminus示例。
从http://pypi.python.org/pypi/stringtemplate3/3.1
开始,我用sudo python setup.py install
为python安装了stringtemplate3。在
当我跑的时候cminus.py从这个代码开始。在
import sys
import antlr3
import stringtemplate3
我有错误。在
^{pr2}$看起来stringtemplate3使用的是antlr而不是antlr3。在
我如何解决这个问题?在
我从这一页得到了答案-Where to get Python ANTLR package to use StringTemplate?
sudo python setup.py install
。在我不得不从antlr2.7安装鹿角
相关问题 更多 >
编程相关推荐