我已经在PyQt5中编写了一个桌面应用程序,并且在Linux上运行良好。
我安装了OS X 10.12 Sierra
我看了自制程序的安装方法
我尝试过:
brew install qt
brew install sip
brew install pyqt5
当我尝试执行脚本时,我看到:
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.
Abort trap: 6
有什么想法吗?
(注:我确实在非标准路径中安装了自制软件,并且我已将bin目录手动添加到我的$PATH
中)