def _ensure_llvm():
 import warnings
 import llvmlite
 regex = re.compile('(\\d+)\\.(\\d+).(\\d+)')
 m = regex.match(llvmlite.__version__)
 if m:
  ver = tuple(map(int, m.groups()))
  if (ver < _min_llvmlite_version):
   msg = ('Numba requires at least version %d.%d.%d of llvmlite.\nInstalled version is %s.\nPlease update llvmlite.' % (_min_llvmlite_version + (llvmlite.__version__,)))
   raise ImportError(msg)
 else:
  warnings.warn('llvmlite version format not recognized!')
 from llvmlite.binding import llvm_version_info, check_jit_execution
 if (llvm_version_info < _min_llvm_version):
  msg = ('Numba requires at least version %d.%d.%d of LLVM.\nInstalled llvmlite is built against version %d.%d.%d.\nPlease update llvmlite.' % (_min_llvm_version + llvm_version_info))
  raise ImportError(msg)
 check_jit_execution()

def _ensure_llvm ( ) : import warnings import llvmlite regex = re . compile ( '(\\d+)\\.(\\d+).(\\d+)' ) m = regex . match ( llvmlite . __version__ ) if m : ver = tuple ( map ( int , m . groups ( ) ) ) if ( ver < _min_llvmlite_version ) : msg = ( 'Numba requires at least version %d.%d.%d of llvmlite.\nInstalled version is %s.\nPlease update llvmlite.' % ( _min_llvmlite_version + ( llvmlite . __version__ , ) ) ) raise ImportError ( msg ) else : warnings . warn ( 'llvmlite version format not recognized!' ) from llvmlite . binding import llvm_version_info , check_jit_execution if ( llvm_version_info < _min_llvm_version ) : msg = ( 'Numba requires at least version %d.%d.%d of LLVM.\nInstalled llvmlite is built against version %d.%d.%d.\nPlease update llvmlite.' % ( _min_llvm_version + llvm_version_info ) ) raise ImportError ( msg ) check_jit_execution ( )
make sure llvmlite is operational .