Fail to load LexActivator.dll when using pyinstaller

I am packaging my app with pyinstaller (on Window 10) and facing the following error:
“Failed to load dynlib/dll ‘[my-path]\cryptlex\lexactivator\libs/win32/x86_64/LexActivator.dll’. Most likely this dynlib/dll was not found when the application was frozen.”
I also installed the VS2015 runtime ( When I run the project, there are no errors.

This is the first time I do this, what should I do next to handle the issue?
Do I need to download the LexActivator.dll and include it as a binary dependency? If yes, please let me know where to download the DLL.

Thank you.


The LexActivator pip package already contains the DLL file. You have to ensure that your packager is copying all the files.

I checked the file and successfully packaged my app. Thank you very much!