sys.stderr.write('(On Linux) Couldn\'t find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use:\n')
fromctypes.utilimportfind_library
OpenSSL=_OpenSSL(find_library('ssl'))
else:
raiseException("Couldn't find and load the OpenSSL library. You must install it.")
try:
fromosimportpath
lib_path=path.join(sys._MEIPASS,"libeay32.dll")
OpenSSL=_OpenSSL(lib_path)
except:
if'linux'insys.platformor'darwin'insys.platform:
try:
fromctypes.utilimportfind_library
OpenSSL=_OpenSSL(find_library('ssl'))
exceptException,err:
sys.stderr.write('(On Linux) Couldn\'t find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use:\n')
fromctypes.utilimportfind_library
OpenSSL=_OpenSSL(find_library('ssl'))
else:
raiseException("Couldn't find and load the OpenSSL library. You must install it.")