SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Steve C. <ste...@ya...> - 2005年04月19日 13:01:44
On Mon, 2005年04月18日 at 20:28 -0700, matplotlib-devel-
re...@li... wrote:
> > Hi All,
> > I installed Matplotlib-0.80 on my linux machine with Freetype 2.1.7.I
> > didn't get any error in installation.
> > Now I am trying run some examples from Matplotlib and getting following
> > error
> > 
> > 
> > 
> > [ajve@cava matplotlib-0.80]$ python examples/logo.py
> > Traceback (most recent call last):
> > File "examples/logo.py", line 3, in ?
> > from pylab import *
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/pylab.py", line 1, in ?
> > from matplotlib.pylab import *
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/matplotlib/pylab.py", line 196, in ?
> > import backends
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/matplotlib/backends/__init__.py", line 19, in ?
> > globals(),locals(),[backend_name])
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/matplotlib/backends/backend_gtkagg.py", line 10, in ?
> > from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/matplotlib/backends/backend_gtk.py", line 20, in ?
> > from backend_gdk import RendererGDK
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/matplotlib/backends/backend_gdk.py", line 31, in ?
> > import gtk, pango
> > File
> > "/data/zion/intersect/local_linux/Python-2.3.4/lib/python2.3/site-packag
> > es/gtk-2.0/gtk/__init__.py", line 43, in ?
> > from _gtk import *
> > ImportError: /usr/lib/libpangoxft-1.0.so.0: undefined symbol:
> > FT_Seek_Stream
> > 
> > 
> > 
> > When I tried to see if thiss symbol is defined in Freetype 2.1.7 libs,I
> > found its not.But this symbol is defined in the previous version of
> > Freetype.But when I am trying to use old version of Freetyope,I get
> > "FT_CURVE_TAG_CUBIC" error while building Matplotlib which is not
> > defined in old version of Freetype.
> > 
> > Any help would be highly appreciated.
> > 
My guess is that you do not have a working pygtk installation. Try
$ python
>>> import pygtk
>>> pygtk.require('2.0')
>>> import gtk, pango
Does it produce the same error?
Steve
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /