[PyFeyn] PyX problem in pyfeyn on OS X 10.7.5 (python 2.7.1)

Christian Ohm christian.ohm at cern.ch
Wed Oct 10 16:57:51 BST 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/pyfeyn/attachments/20121010/92a82da7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4307 bytes
Desc: not available
URL: <http://www.hepforge.org/lists-archive/pyfeyn/attachments/20121010/92a82da7/attachment.bin>


More information about the PyFeyn mailing list