Re: [Matplotlib-users] Import bug for numpy >= 2.0

2010-02-15 Thread Robert Kern
On 2010-02-14 11:23 AM, Charles R Harris wrote: > Lines 147-151 of __init__ need to be changed to > > import numpy > nn = numpy.__version__.split('.') > if not (int(nn[0]) > 1 or int(nn[0]) == 1 and int(nn[1]) >= 1): > raise ImportError( > 'numpy 1.1 or later is required; you have %s' % numpy.

[Matplotlib-users] Import bug for numpy >= 2.0

2010-02-14 Thread Charles R Harris
Lines 147-151 of __init__ need to be changed to import numpy nn = numpy.__version__.split('.') if not (int(nn[0]) > 1 or int(nn[0]) == 1 and int(nn[1]) >= 1): raise ImportError( 'numpy 1.1 or later is required; you have %s' % numpy.__version__) Chuck --