Upgrade matplotlib [newbie]

Hi

sorry for the stupid question but I have installed an RPM version of
matplotlib and now I would like to upgrade it. Unfortunately I would
like to install a version that doesn't have an RPM.
I downloaded the source and built it, but I don't know if I can just
install it over the old version or if I have to remove the old version
and then install the old one ...
What should I do with Scipy and Numpy?

Is there some docs about this?

Thanks for the help

Frank

Frank Zwaard wrote:

Hi

sorry for the stupid question but I have installed an RPM version of
matplotlib and now I would like to upgrade it. Unfortunately I would
like to install a version that doesn't have an RPM.
I downloaded the source and built it, but I don't know if I can just
install it over the old version or if I have to remove the old version
and then install the old one ...
What should I do with Scipy and Numpy?

Is there some docs about this?

Infos on compatible numpy/scipy versions: http://scipy.org/Download

I'm not sure which numpy version is required by the latest mpl, but the latest tarballs should work. If you have numpy/scipy installed via a package manager, check the versions. If they are not too old, try to just upgrade mpl and see if it works, otherwise install (1) numpy, (2) scipy, (3) mpl.
Always remove/uninstall/backup the old installations first (to be on the safe side also everything in ~/.matplotlib, maybe back up your matplotlibrc file). Install to /usr/local/lib/python2.x/site-packages (instead of /usr/lib) with python setup.py install --prefix=/usr/local to avoid clashes with your package manager (I experienced such things).

···

--
cheers,
steve

Random number generation is the art of producing pure gibberish as quickly as possible.

The latest mpl is compatible with numpy-1.0, not the release candidates.

···

On Saturday 18 November 2006 7:58 am, Steve Schmerler wrote:

Frank Zwaard wrote:
> Hi
>
> sorry for the stupid question but I have installed an RPM version of
> matplotlib and now I would like to upgrade it. Unfortunately I would
> like to install a version that doesn't have an RPM.
> I downloaded the source and built it, but I don't know if I can just
> install it over the old version or if I have to remove the old version
> and then install the old one ...
> What should I do with Scipy and Numpy?
>
> Is there some docs about this?

Infos on compatible numpy/scipy versions: http://scipy.org/Download

I'm not sure which numpy version is required by the latest mpl