[OS X TeX] Can't find pygmentex

Adam R. Maxwell amaxwell at mac.com
Sat May 23 19:03:39 CEST 2015



> On May 23, 2015, at 7:36, 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.

You can do the manual setup as Michael Sharpe showed, but you should be able to do 

sudo easy_install pygmentex

Or better

sudo easy_install pip
sudo pip install pygmentex

(Assuming Mac OS still ships easy_install by default, and that the package exists on PyPi with name "pygmentex"…I'm on my phone now).

Also, you should have a python2 symlink, I think, so that shebang path looks correct to me. The which command won't find the script unless it has execute bit set, though.

Adam




More information about the macostex-archives mailing list