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.
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.