From: John H. <jdh...@ac...> - 2004-04-21 20:07:05
|
>>>>> "Gerry" == Gerry Wiener <ge...@uc...> writes: Gerry> I'm trying to run the first example in the tutorial but am Gerry> running into an import problem: Gerry> cannot import name ft2font I haven't seen this one before. Are you using matplotlib-0.53 (released today?) My first guess is you have two python's installed and are installing to one and running the other. I installed and tested the lastest matplotlib on a redhat 7.1 machine so I don't see any problems with your OS. After upgrading to 0.53, you can make sure you are actually using it by mother:~/tmp/matplotlib-0.53/examples> python Python 2.3 (#1, Aug 29 2003, 12:14:15) [GCC 3.2.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. Welcome to rlcompleter2 0.95 for nice experiences hit <tab> multiple times >>> import matplotlib >>> matplotlib.version '0.53' If this doesn't help, let me know what > ldd /d2/gerry/local/ActivePython-2.3/lib/python2.3/site-packages/matplotlib/ft2font.so reveals. John Hunter |