WLwwddd 2020-04-10 16:56 采纳率: 0%
浏览 805

python人脸识别无法打开摄像头

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.
qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: cocoa, minimal, offscreen.
您可能要将两组Qt二进制文件加载到同一个进程中。检查所有的插件都是根据正确的Qt二进制编译的。导出DYLD_PRINT_LIBRARIES=1,并检查是否只加载了一组二进制文件。
qt.qpa。在“”中无法加载Qt平台的插件“cocoa”,即使它被找到了。
此应用程序启动失败,因为没有Qt平台插件可以初始化。重新安装应用程序可以修复这个问题。
可用的平台插件有:cocoa, minimum, offscreen。
图片说明
怎么解决?求助大神,急!!!

  • 写回答

2条回答 默认 最新

  • nieoding 2020-04-10 17:30
    关注
    1. 命令行试试行不行
    2. 如果不行,opencv重装一下试试

    代码上看没啥问题

    评论

报告相同问题?

悬赏问题

  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作