nanomsg-python
nanomsg-python copied to clipboard
Can not exec after pyinstaller package code
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
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?