Hi,
The LexActivator wrapper for Python raises the following exception when loading on an ARM computer:
OSError: /usr/local/lib/python3.7/site-packages/cryptlex/lexactivator/libs/linux/gcc/x86/libLexActivator.so: cannot open shared object file: No such file or directory
Looking at the code on GitHub, it seems it only supports x86 and x86_64…?
def get_library_path():
compiler = 'gcc'
arch = 'x86'
if(is_os_64bit()):
arch = 'x86_64'
# Get the working directory of this file
filename = inspect.getframeinfo(inspect.currentframe()).filename
dir_path = os.path.dirname(os.path.abspath(filename))
# dir_path = os.getcwd()
if sys.platform == 'darwin':
return os.path.join(dir_path, "libs/macos/"+arch+"/libLexActivator.dylib")
elif sys.platform == 'linux':
if(is_musl()):
compiler = 'musl'
return os.path.join(dir_path, "libs/linux/"+compiler+"/"+arch+"/libLexActivator.so")
elif sys.platform == 'win32':
return os.path.join(dir_path, "libs/win32/"+arch+"/LexActivator.dll")
else:
raise TypeError("Platform not supported!")
Thanks,
Tiago