how to install the PLY (Python Lex-Yacc) package in windows

Chris Rebert clp2 at rebertia.com
Tue Mar 22 02:05:22 EDT 2011


On Mon, Mar 21, 2011 at 10:53 PM, Sachin Kumar Sharma <SSharma84 at slb.com> wrote:
> BB,
>
> I downloaded PLY (Python Lex-Yacc) package for a script use it for parsing
> and looking to install under windows.
>
> It has setup.py file, and the command mentioned for installation is
>
> Python setup.py install
>
> Doesn’t work for windows.

Reasonably sure it does, with slight modification. Change "python" to
the full path of your pythonw.exe executable.
If it still doesn't work, please include the error message you're getting.

Cheers,
Chris



More information about the Python-list mailing list