Thanks Michael,

In order to simplify I copied the PyX-0.9 folder in site-packages and erased previous installs. No more compile attempts.

Here I am
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/

Have you compiled the c-module pykpathsea or are you using pyx
"out of the box"?: That means do the files


In order to avoid other problems I'm trying PyX out of the box. So I moved hello.py here:

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/hello.py

My hello.py contains
from pyx import *

text.set(fontmaps="psfonts.cmz")

c = canvas.canvas()
c.text(0, 0, "Hello, world!")
c.stroke(path.line(0, 0, 2, 0))
c.writeEPSfile("hello")
c.writePDFfile("hello")



My version as form pkg-info

Metadata-Version: 1.0
Name: PyX
Version: 0.9


here my traceback

Traceback (most recent call last):
á File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/hello.py", line 6, in <module>
á á c.text(0, 0, "Hello, world!")
á File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/pyx/canvas.py", line 308, in text
á á return self.insert(self.texrunner.text(x, y, atext, *args, **kwargs))
á File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/pyx/text.py", line 1197, in text
á á self.execute(expr, self.defaulttexmessagesdefaultrun + self.texmessagesdefaultrun + texmessages)
á File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/pyx/text.py", line 897, in execute
á á self.fontmap = dvifile.readfontmap(self.fontmaps.split())
á File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyX-0.9/pyx/dvifile.py", line 386, in readfontmap
á á raise RuntimeError("cannot find font mapping file '%s'" % filename)
RuntimeError: cannot find font mapping file 'psfonts.cmz'




Michael.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
PyX-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyx-user

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
UniversitÓ degli Studi di Torino
--------------------------------------------------


I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information.
(Annabel Chong)