|
From: Jean-Baptiste C. <Jea...@de...> - 2004-03-17 16:12:55
|
It worked gret
Thanks
Jean-Baptiste
On Wed, 17 Mar 2004 18:33:52 +0800
LUK ShunTim <shu...@po...> wrote:
> Jean-Baptiste Cazier wrote:
> > S=E6l !
> >=20
> >=20
> > I am trying to keep up with the versions of matplotlib by sucessively =
installing them.=20
> > However I have to install it on many workstations that share folders ov=
er the network
> >=20
> > I would like to be able to install matplotlib into such a folder to avo=
id installing it every time on each machine, but only once
> > It works fine with Numeric and other packages, but not with matplotlib:
> >=20
> > - I install matplotlib on my own workstation.
> > - I copied recursively the folder /usr/lib/python2.2/site-packages/ma=
tplotlib into /home/stat/Pygtk/matplotlib
> > - And then in my program I have added the location of the library to m=
y path:
> > sys.path.append("/home/stat/Pygtk/matplotlib")
> >=20
> > But I get the error message
> > [lws11] ~/devel/novi $ novi.py -m map mixed.test.header.out
> > Traceback (most recent call last):
> > File "./novi.py", line 19, in ?
> > import matplotlib.matlab as Plot
> > File "/home/stat/Pygtk/matplotlib/__init__.py", line 225, in ?
> > defaultParams =3D {
> > File "/home/stat/Pygtk/matplotlib/__init__.py", line 154, in get_data=
_path
> > raise RuntimeError('Could not find the matplotlib data files')
> > RuntimeError: Could not find the matplotlib data files
> >=20
> >=20
> > Which other folder do I need to install or set a path to ?
> >=20
> > Thanks
> >=20
> > Kve=F0ja
> >=20
> > Jean-Baptiste
> >=20
>=20
> Hello,
>=20
> You may have to set the MATPLOTLIBDATA environmental variable to where=20
> you store the data (fonts etc) if you install in a non-default location.
>=20
> Regards,
> ST
--=20
-----------------------------
Jea...@de...
Department of Statistics
deCODE genetics Sturlugata,8
570 2993 101 Reykjav=EDk
|