[OS X TeX] Can't find pygmentex
Herbert Schulz
herbs at wideopenwest.com
Sat May 23 19:08:48 CEST 2015
> On May 23, 2015, at 11:18 AM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
>
>> 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
Howdy,
Thanks for the info. One question, or maybe two... I already have Pygments-1.5-py2.7.egg will that interfere with the 2.0.2 version? Do I have to do something about that?
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the macostex-archives
mailing list