|
From: John H. <jdh...@ac...> - 2004-05-21 15:49:28
|
>>>>> "Jean-Luc" == Jean-Luc Menut <jea...@fr...> writes:
Jean-Luc> GTKAgg requires pygtk GTKAgg requires pygtk Traceback
Jean-Luc> (most recent call last): File "setup.py", line 88, in ?
Jean-Luc> build_agg(ext_modules, packages) File
Jean-Luc> "/home2/menut/prg/matplotlib-0.53.1/setupext.py", line
Jean-Luc> 298, in build_agg add_agg_flags(module) File
Jean-Luc> "/home2/menut/prg/matplotlib-0.53.1/setupext.py", line
Jean-Luc> 83, in add_agg_flags add_base_flags(module) File
Jean-Luc> "/home2/menut/prg/matplotlib-0.53.1/setupext.py", line
Jean-Luc> 64, in add_base_flags incdirs = [os.path.join(p,
Jean-Luc> 'include') for p in basedir[sys.platform] KeyError:
Jean-Luc> 'osf1V5'
You are apparently working on a platform 'osf1V5' that we haven't
encountered before. What platform is this?
You need to add that platform as a key to the
basedir dictionary in setupext.py
basedir = {
'win32' : ['win32_static',],
'linux2' : ['/usr/local', '/usr',],
'linux' : ['/usr/local', '/usr',],
'darwin' : ['/usr/local', '/usr', '/sw'],
'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
'osf1V5' : ['/your/base/dir1', '/your/base/dir2'],
}
where /your/base/dir are the base paths to the system libraries.
Also, you may want to install pygtk or Tkinter or wxpython if you want
to use matplotlib from a GUI.
JDH
|