habitatapi quick start未正确运行qt.qpa.plugin:在“”中找不到qt平台插件“cocoa”

2024-06-25 23:20:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前正试图从habitat-api运行该示例,但当我运行该示例时,它无法正常运行

我修复了代码中未更新的一个问题("pointgoal"应该是"pointgoal_with_gps_compass"

这是终端在运行python testActions.py后给我的信息:

2020-03-13 17:29:37,024 Initializing dataset PointNav-v1
2020-03-13 17:29:37,217 initializing sim Sim-v0
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0313 17:29:37.234107 303062464 SceneGraph.h:92] Created DrawableGroup: 
Renderer: Intel(R) Iris(TM) Plus Graphics 640 by Intel Inc.
OpenGL version: 4.1 INTEL-14.4.23
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_separate_shader_objects
    GL_ARB_texture_filter_anisotropic
    GL_ARB_texture_storage
    GL_ARB_vertex_array_object
    GL_EXT_debug_label
    GL_EXT_debug_marker
Using driver workarounds:
    no-layout-qualifiers-on-old-glsl
I0313 17:29:37.395491 303062464 ResourceManager.cpp:1072] Importing Basis files as BC3
W0313 17:29:38.644949 303062464 Simulator.cpp:140] :
---
 The active scene does not contain semantic annotations. 
---
I0313 17:29:38.651930 10376 simulator.py:142] Loaded navmesh data/scene_datasets/habitat-test-scenes/skokloster-castle.navmesh
2020-03-13 17:29:38,737 Initializing task Nav-v0
Environment creation successful
Destination, distance: 5.883259, theta(radians): -0.00
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.

zsh: abort      python testActions.py

我认为代码中存在一些问题。我曾试图询问GitHub存储库(issue #330,但仍在等待,看是否存在错误。我被告知错误与我的OpenCV安装有关


Tags: to代码py示例pluginusingarbgl