user interface - Compiling Pyqt5 Python App with py2app ImportError -


i'm trying turn python code executable .app file mac , later on .exe windows.

after building app py2app run application , recieve following error:

    traceback (most recent call last):   file "/users/tomeady/desktop/dist/main.app/contents/resources/__boot__.py", line 98, in <module>     _run()   file "/users/tomeady/desktop/dist/main.app/contents/resources/__boot__.py", line 82, in _run     exec(compile(source, path, 'exec'), globals(), globals())   file "/users/tomeady/desktop/dist/main.app/contents/resources/main.py", line 2, in <module>     pyqt5 import qtwidgets, qtgui, qtcore importerror: dlopen(/users/tomeady/desktop/dist/main.app/contents/resources/lib/python3.6/pyqt5/qtwidgets.so, 2): library not loaded: @executable_path/../frameworks/qtwidgets.framework/versions/5/qtwidgets   referenced from: /users/tomeady/desktop/dist/main.app/contents/resources/lib/python3.6/pyqt5/qtwidgets.so   reason: incompatible library version: qtwidgets.so requires version 5.9.0 or later, qtwidgets provides version 5.3.0 2017-07-26 14:38:12.911 main[1317:36011] main error 

i've ensured modules installed , date, cannot wrap head around 1 ://.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -