Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not exec after pyinstaller package code #78

Open
clementzhao opened this issue Jan 9, 2020 · 1 comment
Open

Can not exec after pyinstaller package code #78

clementzhao opened this issue Jan 9, 2020 · 1 comment

Comments

@clementzhao
Copy link

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

@tonysimpson
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants