Matplotlib, Python 3.5.0 and RHEL 5

Hi,
IT are trying to install matplot lib (1.5.0) for Python 3.5.0.
They have it working on RHEL6 machines and claim it doesn't/cant/wont work on RHEL 5 machines.

I don't have specific information from them why or what made them come to that conclusion.
However when I try running I get the following.

$ /depot/Python-3.5.0/bin/python
Python 3.5.0 (default, Oct 15 2015, 22:50:34)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import matplotlib
print(matplotlib.__version__)

1.5.0

import matplotlib.pyplot as plt

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/pyplot.py", line 29, in <module>
    import matplotlib.colorbar
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/colorbar.py", line 32, in <module>
    import matplotlib.artist as martist
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/artist.py", line 14, in <module>
    from .transforms import (Bbox, IdentityTransform, TransformedBbox,
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/transforms.py", line 39, in <module>
    from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: /depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/_path.cpython-35m-x86_64-linux-gnu.so: ELF file OS ABI invalid

Can anyone tell me if RHEL 5.x is supported or not?
Can anyone throw any light on the above error message.

Thx
Derek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151120/4710a51d/attachment.html>

Did they build from source? There error message suggests they took binaries
built on one Linux distro and are running it on another, which wouldn't
work. I see no reason why it wouldn't run on RHEL5 though, assuming they
are already upgrading Python from the stock package, which is sounds like
they are. If you can get info about how it was downloaded, built and
installed, that might shed some more light.

Mike

···

On Fri, Nov 20, 2015 at 3:13 AM, Derek Wallace <Derek.Wallace at synopsys.com> wrote:

Hi,

IT are trying to install matplot lib (1.5.0) for Python 3.5.0.

They have it working on RHEL6 machines and claim it doesn?t/cant/wont work
on RHEL 5 machines.

I don?t have specific information from them why or what made them come to
that conclusion.

However when I try running I get the following.

$ /depot/Python-3.5.0/bin/python

Python 3.5.0 (default, Oct 15 2015, 22:50:34)

[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import matplotlib

>>> print(matplotlib.__version__)

1.5.0

>>> import matplotlib.pyplot as plt

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File
"/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/pyplot.py",
line 29, in <module>

    import matplotlib.colorbar

  File
"/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/colorbar.py",
line 32, in <module>

    import matplotlib.artist as martist

  File
"/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/artist.py",
line 14, in <module>

    from .transforms import (Bbox, IdentityTransform, TransformedBbox,

  File
"/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/transforms.py",
line 39, in <module>

    from matplotlib._path import (affine_transform,
count_bboxes_overlapping_bbox,

ImportError: /depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/_
path.cpython-35m-x86_64-linux-gnu.so: ELF file OS ABI invalid

Can anyone tell me if RHEL 5.x is supported or not?

Can anyone throw any light on the above error message.

Thx
Derek

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

--
Michael Droettboom
Continuum Analytics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151201/f5b8b066/attachment.html>

Hi Michael,
They made a mess of it and its exactly as you suggest; mixed up binaries.
Thx
derek

···

From: Michael Droettboom [mailto:mdroettboom@continuum.io]
Sent: 01 December 2015 13:24
To: Derek Wallace
Cc: matplotlib-users at python.org
Subject: Re: [Matplotlib-users] Matplotlib, Python 3.5.0 and RHEL 5

Did they build from source? There error message suggests they took binaries built on one Linux distro and are running it on another, which wouldn't work. I see no reason why it wouldn't run on RHEL5 though, assuming they are already upgrading Python from the stock package, which is sounds like they are. If you can get info about how it was downloaded, built and installed, that might shed some more light.

Mike

On Fri, Nov 20, 2015 at 3:13 AM, Derek Wallace <Derek.Wallace at synopsys.com<mailto:Derek.Wallace at synopsys.com>> wrote:
Hi,
IT are trying to install matplot lib (1.5.0) for Python 3.5.0.
They have it working on RHEL6 machines and claim it doesn?t/cant/wont work on RHEL 5 machines.

I don?t have specific information from them why or what made them come to that conclusion.
However when I try running I get the following.

$ /depot/Python-3.5.0/bin/python
Python 3.5.0 (default, Oct 15 2015, 22:50:34)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import matplotlib
print(matplotlib.__version__)

1.5.0

import matplotlib.pyplot as plt

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/pyplot.py", line 29, in <module>
    import matplotlib.colorbar
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/colorbar.py", line 32, in <module>
    import matplotlib.artist as martist
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/artist.py", line 14, in <module>
    from .transforms import (Bbox, IdentityTransform, TransformedBbox,
  File "/depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/transforms.py", line 39, in <module>
    from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: /depot/Python-3.5.0/lib/python3.5/site-packages/matplotlib/_path.cpython-35m-x86_64-linux-gnu.so<http://path.cpython-35m-x86_64-linux-gnu.so>: ELF file OS ABI invalid

Can anyone tell me if RHEL 5.x is supported or not?
Can anyone throw any light on the above error message.

Thx
Derek

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org<mailto:Matplotlib-users at python.org>
https://mail.python.org/mailman/listinfo/matplotlib-users

--
Michael Droettboom
Continuum Analytics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151201/a82645e8/attachment-0001.html>