PyQt 5 loading two sets of Qt binaries and could not find or load the Qt platform plugin "cocoa" in "".

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PyQt 5 loading two sets of Qt binaries and could not find or load the Qt platform plugin "cocoa" in "".

zhenguo Zhao

HELP:

Last login: Wed May 15 19:18:24 on ttys000

/Users/zhaozhenguo/PycharmProjects/firsttry/dist/hi/hi ; exit;

(base) Zhenguo-ZhaodeMacBook-Air:~ zhaozhenguo$ /Users/zhaozhenguo/PycharmProjects/firsttry/dist/hi/hi ; exit;

objc[2169]: Class RunLoopModeTracker is implemented in both /Users/zhaozhenguo/PycharmProjects/firsttry/dist/hi/libQt5Core.5.dylib (0x105570a80) and /Users/zhaozhenguo/anaconda3/lib/libQt5Core.5.9.7.dylib (0x10ae2ca80). One of the two will be used. Which one is undefined.

objc[2169]: Class NotificationReceiver is implemented in both /Users/zhaozhenguo/PycharmProjects/firsttry/dist/hi/libQt5Widgets.5.dylib (0x104cfe1b8) and /Users/zhaozhenguo/anaconda3/lib/libQt5Widgets.5.9.7.dylib (0x10a5ba1b8). One of the two will be used. Which one is undefined.

QObject::moveToThread: Current thread (0x7f86d4438170) is not the object's thread (0x7f86d46156c0).

Cannot move to target thread (0x7f86d4438170)


You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.

This application failed to start because it could not find or load the Qt platform plugin "cocoa"

in "".


Available platform plugins are: cocoa, minimal, offscreen.


Reinstalling the application may fix this problem.

Abort trap: 6

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]


--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/bf43178d-6f48-495c-a53d-2e567eec1d5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.