Installation problem

Hi,

I am sorry to bug you all with an installation problem, but I need
some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was
necessary for me to redo some other installations like numpy when I
needed a complete lapack library. This also led to me installing
another version of g77, because numpy needed a specific library that
was only provide by the g77 version of fortran for some reason.
Anyways, numpy works great but I went back to install matplotlib and I
ran into trouble. After the installation process, if I try to import
matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform
ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do
I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Thanks in advance,
Frank

I don't know if this will help, but...

Python packages generally don't have proper dependency management when building. That means, if an underlying dependency changes, it often doesn't rebuild enough to keep things in sync. You may want to try rebuilding everything after first completely removing the "build" directory to force a complete rebuild. Do numpy first then matplotlib.

...but maybe you've tried that already, in which case, I don't know off hand...

Mike

Frank Lagor wrote:

···

Hi,

I am sorry to bug you all with an installation problem, but I need
some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was
necessary for me to redo some other installations like numpy when I
needed a complete lapack library. This also led to me installing
another version of g77, because numpy needed a specific library that
was only provide by the g77 version of fortran for some reason.
Anyways, numpy works great but I went back to install matplotlib and I
ran into trouble. After the installation process, if I try to import
matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform
ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do
I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Thanks in advance,
Frank

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Thanks so much for the response, Mike. Yes, I learned the hard way a
long time ago about having to rm -rf build/ when rebuilding python
packages. I have tried this here, but I still have an issue. I am
currently trying to rebuild with a different compiler and playing with
environment variables. I would love any other suggestions. Thanks,
Frank

···

On Mon, Nov 10, 2008 at 3:46 PM, Michael Droettboom <mdroe@...86...> wrote:

I don't know if this will help, but...

Python packages generally don't have proper dependency management when
building. That means, if an underlying dependency changes, it often doesn't
rebuild enough to keep things in sync. You may want to try rebuilding
everything after first completely removing the "build" directory to force a
complete rebuild. Do numpy first then matplotlib.

...but maybe you've tried that already, in which case, I don't know off
hand...

Mike

Frank Lagor wrote:

Hi,

I am sorry to bug you all with an installation problem, but I need
some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was
necessary for me to redo some other installations like numpy when I
needed a complete lapack library. This also led to me installing
another version of g77, because numpy needed a specific library that
was only provide by the g77 version of fortran for some reason.
Anyways, numpy works great but I went back to install matplotlib and I
ran into trouble. After the installation process, if I try to import
matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform
ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do
I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Thanks in advance,
Frank

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Try removing the build/ directory from your mpl source directory, as well as your site-packages/matplotlib*, and recompile.

···

On Monday 10 November 2008 03:37:26 pm Frank Lagor wrote:

Hi,

I am sorry to bug you all with an installation problem, but I need

some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was

necessary for me to redo some other installations like numpy when I

needed a complete lapack library. This also led to me installing

another version of g77, because numpy needed a specific library that

was only provide by the g77 version of fortran for some reason.

Anyways, numpy works great but I went back to install matplotlib and I

ran into trouble. After the installation process, if I try to import

matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform

ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:

version `GCC_4.2.0’ not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do

I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Hi Darren,

Yes, unfrotunately I tried this as well to no avail.

Thank you though,
Frank

···

On Mon, Nov 10, 2008 at 4:00 PM, Darren Dale <darren.dale@...163...> wrote:

On Monday 10 November 2008 03:37:26 pm Frank Lagor wrote:

Hi,

I am sorry to bug you all with an installation problem, but I need

some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was

necessary for me to redo some other installations like numpy when I

needed a complete lapack library. This also led to me installing

another version of g77, because numpy needed a specific library that

was only provide by the g77 version of fortran for some reason.

Anyways, numpy works great but I went back to install matplotlib and I

ran into trouble. After the installation process, if I try to import

matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform

ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:

version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do

I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Try removing the build/ directory from your mpl source directory, as well as
your site-packages/matplotlib*, and recompile.

I got the same problem on my portable(windowx XP) but not on my desk
top(windows XP) !
I reinstalled python, numpy and matplotlib either from internet and from my
desk top (where things works well) but I got the same problem!
thanks for any sugegstion
Best Regards
Domenico

Frank Lagor wrote:

···

Hi,

I am sorry to bug you all with an installation problem, but I need
some additional help to get this figured out.

I previously had a matplotlib installed and working fine, but it was
necessary for me to redo some other installations like numpy when I
needed a complete lapack library. This also led to me installing
another version of g77, because numpy needed a specific library that
was only provide by the g77 version of fortran for some reason.
Anyways, numpy works great but I went back to install matplotlib and I
ran into trouble. After the installation process, if I try to import
matplotlib.pylab I get the following errors:

from matplotlib._path import affine_transform
ImportError: /ronaldo/pkg/dfranci/gcc-g77-3.4.6/lib64/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib64/libstdc++.so.6)

Is this a problem that I can fix in the matplotlib installation or do
I need to go back up to the numpy installation?

I should note that I do not have gcc-4.2.0 on my system.

Thanks in advance,
Frank

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
View this message in context: http://www.nabble.com/Installation-problem-tp20427671p20576644.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Have you tried the enthought python distribution or python xy? Both
are single click installers that come with python, numpy, ipython,
matplotlib and more.

  Home | Enthought, Inc.
  http://www.pythonxy.com/foreword.php

JDH

···

On Wed, Nov 19, 2008 at 3:56 AM, domenico09 <domenico.inaudi@...1348...> wrote:

I got the same problem on my portable(windowx XP) but not on my desk
top(windows XP) !
I reinstalled python, numpy and matplotlib either from internet and from my
desk top (where things works well) but I got the same problem!
thanks for any sugegstion