[stringtemplate-interest] ANTLR 2 for Python?

Chris Pizzi cpizzi at nis-retail.com
Thu Jul 31 05:52:39 PDT 2008


Roman Odaisky wrote:
> Greetings,
> 
> I’m trying to get the latest Python version (3.1) of StringTemplate to work. 
> Class StringTemplate works, class StringTemplateGroup wants module antlr and 
> fails. The antlr.org site seems only to have version 3 for Python, not 
> version 2 which is seemingly needed.
> 
> How do I install ANTLR 2 for Python, or what else do I need to do to use 
> StringTemplate?

I use Python stringtemplate.  This worked for me in Ubuntu and RedHat:

1. download and extract the source for antlr2
2. change to the lib/python subdirectory
3. run "python setup.py install".





-- 
Chris Pizzi
Sr. Programmer
National In-Store


2 N Tamiami Trail, 9th Fl
Sarasota, FL 34236
Phone 941-554-2685
Mobile 941-586-6004

www.nis-retail.com


Notice: This communication may contain privileged or other confidential
information. If you have received it in error, please advise the sender
by reply email and immediately delete the message and any attachments
without copying or disclosing the contents. Thank you.





More information about the stringtemplate-interest mailing list