Getting Started with PLY
suggest changeTo install PLY on your machine for python2/3, follow the steps outlined below:
- Download the source code from here.
- Unzip the downloaded zip file
- Navigate into the unzipped
ply-3.10
folder - Run the following command in your terminal:
python setup.py install
If you completed all the above, you should now be able to use the PLY module. You can test it out by opening a python interpreter and typing import ply.lex
.
Note: Do not use pip
to install PLY, it will install a broken distribution on your machine.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents