nanomsg-python icon indicating copy to clipboard operation
nanomsg-python copied to clipboard

Can not exec after pyinstaller package code

Open clementzhao opened this issue 6 years ago • 1 comments

Error log: ImportError: No module named '_nanomsg_ctypes' UserWarning: Could not load the default wrapper for your platform: cpy, performance may be affected!

I fixed it in nanomsg_wrappers/init.py add 2 lines: import _nanomsg_ctypes import _nanomsg_cpy

clementzhao avatar Jan 09 '20 06:01 clementzhao

Is this because pyinstaller doesn't know to include the _nanomsg_ctypes package because it thinks its not used. Is there some way to tell pyinstaller to include it anyway?

tonysimpson avatar Aug 11 '20 09:08 tonysimpson