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

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 here:


My contains
from pyx import *


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

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/", 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/", 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/", 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/", 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/", line 386, in readfontmap
á á raise RuntimeError("cannot find font mapping file '%s'" % filename)
RuntimeError: cannot find font mapping file 'psfonts.cmz'


Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
PyX-user mailing list

Andrea Valle
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)