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
Post a Comment