From: Gerry W. <ge...@uc...> - 2004-04-21 19:47:22
|
I'm trying to run the first example in the tutorial but am running into an import problem: ActivePython 2.3.2 Build 231 (ActiveState Corp.) based on Python 2.3.2 (#1, Nov 6 2003, 09:47:20) [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-113)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from matplotlib.matlab import * Traceback (most recent call last): File "<stdin>", line 1, in ? File "matplotlib/matlab.py", line 128, in ? from axes import Axes File "matplotlib/axes.py", line 10, in ? from axis import XTick, YTick, XAxis, YAxis File "matplotlib/axis.py", line 22, in ? from font_manager import FontProperties File "matplotlib/font_manager.py", line 38, in ? from matplotlib import ft2font ImportError: cannot import name ft2font I've built and installed the freetype2 library and the matplotlib installation cites: running install_lib copying build/lib.linux-i686-2.3/matplotlib/backends/_tkagg.so -> /d2/gerry/local/ActivePython-2.3/lib/python2.3/site-packages/matplotlib/backends copying build/lib.linux-i686-2.3/matplotlib/backends/_backend_agg.so -> /d2/gerry/local/ActivePython-2.3/lib/python2.3/site-packages/matplotlib/backends copying build/lib.linux-i686-2.3/matplotlib/ft2font.so -> /d2/gerry/local/ActivePython-2.3/lib/python2.3/site-packages/matplotlib copying build/lib.linux-i686-2.3/matplotlib/_image.so -> /d2/gerry/local/ActivePython-2.3/lib/python2.3/site-packages/matplotlib Not sure what's going wrong. Please respond to my email as well since I'm not a subscriber to the email list. Thanks, Gerry Wiener |