def easy_install(package):
 try:
  easy.main(['-U', package])
  return True
 except:
  print ('Unable to install %s using easy_install. Please read the instructions for         manual installation.. Exiting' % package)
  print ('Error: %s: %s' % (exc_info()[0], exc_info()[1]))
  return False

def easy_install ( package ) : try : easy . main ( [ '-U' , package ] ) return True except : print ( 'Unable to install %s using easy_install. Please read the instructions for         manual installation.. Exiting' % package ) print ( 'Error: %s: %s' % ( exc_info ( ) [ 0 ] , exc_info ( ) [ 1 ] ) ) return False
install the package using easy_install .