def _check_numpy():
 requirement_met = False
 try:
  import numpy
 except ImportError:
  pass
 else:
  from .utils import minversion
  requirement_met = minversion(numpy, __minimum_numpy_version__)
 if (not requirement_met):
  msg = 'Numpy version {0} or later must be installed to use Astropy'.format(__minimum_numpy_version__)
  raise ImportError(msg)
 return numpy

def _check_numpy ( ) : requirement_met = False try : import numpy except ImportError : pass else : from . utils import minversion requirement_met = minversion ( numpy , __minimum_numpy_version__ ) if ( not requirement_met ) : msg = 'Numpy version {0} or later must be installed to use Astropy' . format ( __minimum_numpy_version__ ) raise ImportError ( msg ) return numpy
check that numpy is installed and it is of the minimum version we require .