def get_scipy_status():
 scipy_status = {}
 try:
  import scipy
  scipy_version = scipy.__version__
  scipy_status['up_to_date'] = (parse_version(scipy_version) >= parse_version(SCIPY_MIN_VERSION))
  scipy_status['version'] = scipy_version
 except ImportError:
  traceback.print_exc()
  scipy_status['up_to_date'] = False
  scipy_status['version'] = ''
 return scipy_status

def get_scipy_status ( ) : scipy_status = { } try : import scipy scipy_version = scipy . __version__ scipy_status [ 'up_to_date' ] = ( parse_version ( scipy_version ) >= parse_version ( SCIPY_MIN_VERSION ) ) scipy_status [ 'version' ] = scipy_version except ImportError : traceback . print_exc ( ) scipy_status [ 'up_to_date' ] = False scipy_status [ 'version' ] = '' return scipy_status
returns a dictionary containing a boolean specifying whether scipy is up-to-date .