From: John H. <jdh...@ac...> - 2004-08-02 16:02:08
|
>>>>> "Mathias" == Mathias Franzius <mat...@we...> writes: Mathias> Dear NG, I have a problem mwith the installation of Mathias> matplotlib under redhat 9 and python 2.3.2. I first Mathias> updated all relevant packages (see [1]). Building Mathias> matplotlib with default setup.py seemd to be ok, except Mathias> two types of warnings (see [2]). Install showed no errors Mathias> as well. When importing matplotlib I get the following Mathias> error: The warnings you posted are completely harmless. Mathias> What could be the problem? The directory Mathias> /usr/lib/python2.3/site-packages/matplotlib/ contains Mathias> transforms.py and _transforms.so but no _transforms.py - Mathias> is that ok? Yes, this is OK. There is no _transforms.py My guess is you are trying to run matplotlib from the build dir. You cannot do this, because python finds the matplotlib src dir named matplotlib and tries to load that. There is no _transforms module in that dir, but there is in site-packages so you should be OK. cd into another directory, ie your home dir or the examples dir, and try from there. This problem bites a number of users. Perhaps we should rename the base matplotlib python dir in the src tree to something like matplotlibpy. JDH |