From: Tuure L. <ta...@ly...> - 2004-06-01 23:11:37
|
Serban Udrea wrote: > The error message is as follows: > > RuntimeError: cannot find font mapping file 'psfonts.map' I had the same problem and dived into the source. Apparently PyX calls some external program to find those files - I can't remember what - and my problem was that the external program wasn't in the path of the user as which I was trying to import pyx. If there really is no such file on your computer, check if you have dvips installed. On FreeBSD the loacation of the file seems to be /usr/local/share/texmf/dvips/config/psfonts.map. > ConfigParser.MissingSectionHeaderError: File contains no section headers. > file: /home/serban/.pyxrc, line: 1 > 'fontmaps = psfonts_t1.map\n' ConfigParser config files require section headers of form [section]. You need to find out which section the setting should go into. |