Python Forum
PYQT py2app Compiling
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PYQT py2app Compiling
#1
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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PYQT5 // PY2APP] -- Incompatibility issue Tome 8 7,195 Sep-29-2017, 05:58 AM
Last Post: uduse

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020