Import bug for numpy >= 2.0

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

It's been noted and fixed in SVN.

···

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.__version__)

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco