def check_requirements():
 if ((sys.version_info < (3, 3)) and (sys.version_info[:2] != (2, 7))):
  raise SystemExit('PyInstaller requires at least Python 2.7 or 3.3+.')
 if is_win:
  try:
   from PyInstaller.utils.win32 import winutils
   pywintypes = winutils.import_pywin32_module('pywintypes')
  except ImportError:
   raise SystemExit('PyInstaller cannot check for assembly dependencies.\nPlease install PyWin32.\n\npip install pypiwin32\n')

def check_requirements ( ) : if ( ( sys . version_info < ( 3 , 3 ) ) and ( sys . version_info [ : 2 ] != ( 2 , 7 ) ) ) : raise SystemExit ( 'PyInstaller requires at least Python 2.7 or 3.3+.' ) if is_win : try : from PyInstaller . utils . win32 import winutils pywintypes = winutils . import_pywin32_module ( 'pywintypes' ) except ImportError : raise SystemExit ( 'PyInstaller cannot check for assembly dependencies.\nPlease install PyWin32.\n\npip install pypiwin32\n' )
verify that all requirements to run pyinstaller are met .