Hi, I'm trying to use Pyinstaller to generate and distribute an application. When I try to run the application, i'm getting: ImportError: cannot import name NSEvent
This comes from the following line: from Cocoa import NSEvent, NSKeyDownMask, NSRightMouseDownMask, NSLeftMouseDownMask >From what I understood, pyinstaller is missing this import during the application generation. I tried to set hiddenimports=['Cocoa'] in spec file but it didn't made any difference. What's the correct way of adding this import? Thanks. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
