PYQT py2app Compiling - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: PYQT py2app Compiling (/thread-4167.html) |
PYQT py2app Compiling - Tome - Jul-27-2017 Hi, I'm trying to build a standalone app for a relatively big python application I've built. All else working I run into this error when trying to run py2app. 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> from PyQt5 import QtWidgets, QtGui, QtCoreImportError: 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.8.0 or later, but QtWidgets provides version 5.3.0 I understand there is an issue with incompatibility in the pyqt5 module. Please help I've been stuck for a while now. |