[OS X TeX] Can't find pygmentex

Michael Sharpe msharpe at ucsd.edu
Sat May 23 12:18:27 EDT 2015


> On May 23, 2015, at 7:36 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> PS: Is there any python aware person out there that can tell me how to findout what the most recent Pygments version is and how I update my version if there is, in fact, a newer version. I seem to have Pygments-1.5-py2.7.egg.

From pygments.org, it appears that the latest version is 2.0.2.

I downloaded the source for 2.0.2 from https://pypi.python.org/pypi/Pygments and installed it with the command

python setup.py install

(I first cded to the source folder I just downloaded.) This installs some binaries in /Library/Frameworks/Python.framework/Versions/2.7/bin, which should be added to your path if not already present. I changed the python2 in the first line of pygmentex.py to just python, and made the file executable. 

Michael


More information about the MacOSX-TeX mailing list