MACOS M2 Ventura

80 views
Skip to first unread message

Geoff Evans

unread,
Apr 1, 2024, 6:58:27 AM4/1/24
to leo-editor
I've tried to get leo via pip:

pip install pyqt6 leo

but when I try to run it I get:

 ~/WXP/OGMAP/now/base > leo ogmap.leo
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

The obvious "pip install cocoa" didn't help.  Any ideas?

geoff


Edward K. Ream

unread,
Apr 6, 2024, 2:05:23 AM4/6/24
to leo-e...@googlegroups.com
Not really. Did you try pip install pyqt6 first?

Edward

Thomas Passin

unread,
Apr 6, 2024, 7:27:28 AM4/6/24
to leo-editor

Edward K. Ream

unread,
Apr 7, 2024, 4:09:32 AM4/7/24
to leo-e...@googlegroups.com


On Sat, Apr 6, 2024 at 6:27 AM Thomas Passin <tbp1...@gmail.com> wrote:
Solved in

https://stackoverflow.com/questions/76898551/qt-qpa-plugin-could-not-find-the-qt-platform-plugin-cocoa-in

Thanks for your help, Thomas.

Edward

Geoff Evans

unread,
Apr 11, 2024, 6:51:09 AM4/11/24
to leo-editor
Thanks Thomas,
    When I worked up the courage to adjust my qt.conf file as suggested, everything worked! :-)
I'll have to get used to the options living at the top of the main screen and not the top of the leo window.  But that's a minor issue.

geoff

Thomas Passin

unread,
Apr 11, 2024, 8:05:16 AM4/11/24
to leo-editor
I'm glad to hear it, Geoff.

The bigger question is how to make sure other Mac users can learn about this.  I doubt that Leo's install system could make the required changes, so how can we inform users?  I don't have a Mac and don't know much about them.

Reply all
Reply to author
Forward
0 new messages