SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: katrin s. <sc...@ph...> - 2004年02月22日 08:25:54
Hi all,
I am DESPERATE to use matplotlib on my linux box...Here is the problem,
according to my linux box, Gtk+2.0 and the corresponding libgtk developer 
tools are installed. However, when I try to configure pygtk2.0 (needed by 
matplotlib) I get an error saying that gtk+2.0 is not installed, (I 
also tried (foolishly) to run a matplotlib example file with a gtk 
backgroud and got a "gobject missing" error). Has anyone else had a 
problem like this? Anyone know how to fix?
katrin
From: John H. <jdh...@ac...> - 2004年02月22日 14:04:46
>>>>> "katrin" == katrin schenk <sc...@ph...> writes:
 katrin> Hi all, I am DESPERATE to use matplotlib on my linux
 katrin> box...Here is the problem, according to my linux box,
 katrin> Gtk+2.0 and the corresponding libgtk developer tools are
 katrin> installed. However, when I try to configure pygtk2.0
 katrin> (needed by matplotlib) I get an error saying that gtk+2.0
 katrin> is not installed, (I also tried (foolishly) to run a
 katrin> matplotlib example file with a gtk backgroud and got a
 katrin> "gobject missing" error). Has anyone else had a problem
 katrin> like this? Anyone know how to fix?
Hi Katrin,
I saw that you were already getting some good suggestions on the pygtk
list, which I also read. Those are the same things I would suggest
too: try an rpm, if not, make sure your pkgconfig for pygtk is updated
eg, what doed the following reveal?
 localhost:~> pkg-config --modversion gtk+-2.0
 2.2.1
Even if your RPM installed them, if pkgconfig cannot find them, you'll
have install troubles. You can set the path pkgconfig uses to find
files, eg, 
 setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/lib/pkgconfig
In this case, you want to make sure the file gtk+-2.0.pc is in your
PKG_CONFIG_PATH path.
But these are all fallback suggestions if the rpm doesn't work for
you. If you have more trouble, it will help also to provide the exact
compiler error.
Good luck. If you figure out what was going wrong and fix it, let me
know and I'll update the website docs.
JDH
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 によって変換されたページ (->オリジナル) /