Re: [matplotlib-devel] Inclusion in RHEL6

2010-11-11 Thread John Hunter
On Wed, Nov 10, 2010 at 10:09 PM, Benjamin Root wrote: > FYI, > > I was just looking through the package list for the newly released RHEL 6. > matplotlib version 0.99.1.2 has been included, along with numpy 1.3 and > python 2.6.5.  I did not see scipy and ipython, however. > > Congrats for fiinall

[matplotlib-devel] Error when matplotlib.use'ing 'Cairo'

2010-11-11 Thread Kynn Jones
On my system, the following 3-line script *import matplotlib matplotlib.use('Cairo') import matplotlib.pyplot as plt * fails with the error: * File "/matplotlib/backends/backend_cairo.py", line 34, in if cairo.version_info < _version_required: AttributeError: 'module' object has no attribute

Re: [matplotlib-devel] Error when matplotlib.use'ing 'Cairo'

2010-11-11 Thread Eric Firing
On 11/11/2010 09:54 AM, Kynn Jones wrote: > On my system, the following 3-line script > > *import matplotlib > matplotlib.use('Cairo') > import matplotlib.pyplot as plt > * > fails with the error: > > * File "/matplotlib/backends/backend_cairo.py", line > 34, in > if cairo.version_info < _vers

Re: [matplotlib-devel] Error when matplotlib.use'ing 'Cairo'

2010-11-11 Thread Kynn Jones
Same thing: >>> import cairo >>> print cairo.version Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'version' kj On Thu, Nov 11, 2010 at 3:09 PM, Eric Firing wrote: > On 11/11/2010 09:54 AM, Kynn Jones wrote: > > On my system, the fo

Re: [matplotlib-devel] Error when matplotlib.use'ing 'Cairo'

2010-11-11 Thread Eric Firing
On 11/11/2010 11:28 AM, Kynn Jones wrote: > Same thing: > > >>> import cairo > >>> print cairo.version > Traceback (most recent call last): >File "", line 1, in > AttributeError: 'module' object has no attribute 'version' It looks like you have a strangely broken pycairo installation, then.