|
[PyFeyn] PyX problem in pyfeyn on OS X 10.7.5 (python 2.7.1)hippel at kph.uni-mainz.de hippel at kph.uni-mainz.deThu Oct 11 09:01:53 BST 2012
Dear Christian, this is an incompatibility with the most recent version of PyX, which changed the interface to kpathsea, which I didn't get around to fixing yet. Possible fixes at the moment include removing this line and putting \include{hepnicenames} into the LaTeX header regardless (assuming you have hepnicenames.sty in your TeX path), or downgrading to an older version of PyX. Sorry about that, and have fun with pyfeyn, Georg Quoting Christian Ohm <christian.ohm at cern.ch>: > Dear pyfeyn devs, > > I really like pyfeyn, but after installing it on my new mac I run into the > following trouble: > > >>> import pyfeyn > You don't have PyX - that's a problem unless you're just running the setup > script. > > It seems the line > > if pyx.pykpathsea.find_file("hepnicenames.sty", > pyx.pykpathsea.kpse_tex_format): > of > > http://pyfeyn.hepforge.org/svn/pyfeyn/trunk/pyfeyn/__init__.py > > is the problem, since > > >>> import pyx > >>> pyx.pykpathsea > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: 'module' object has no attribute 'pykpathsea' > > I did some quick google searches for a fix but didn't find anything - any > idea what could be wrong? I have the latest py-pyx version from macports > (0.11.1) and the below python version running under OS X Lion (10.7.5). > > Python 2.7.1 (r271:86832, Aug 5 2011, 03:30:24) > [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on > darwin > > Thanks a lot! > > Best, > Christian > > PS. pyfeyn works great despite this message, except for when I try to add > LaTeX labels for the particles, e.g. using the (also very appreciated!) > hepnames package. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
More information about the PyFeyn mailing list |