首页 > 解决方案 > Tkinter 可以在 macOS Catalina 上使用 Metal 吗?

问题描述

我正在尝试在 macOS Catalina 10.15.5 VM 中运行我的 python tkinter 应用程序。当我跑步时,我得到:

Unable to create basic Accelerated OpenGL renderer.
Unable to create basic Accelerated OpenGL renderer.
Core image is now using the software OpenGL renderer. This will be slow. 

我从这个 github 线程这个堆栈线程知道 OpenGL 已经被贬低以支持 Metal,但我不确定这与 tkinter 有什么关系,因为 8.6.10 预先捆绑了新的 python.org 安装。我也不确定 tkinter 的哪一部分依赖于 OpenGL,因为其中最密集的图形是 matplotlib。

谁能指出我正确的方向?鉴于 mac run Tk Aqua Coco 上的错误历史,我现在应该放弃在 macOS 上使用 tkinter 吗?

标签: pythonmacosopengltkintermetal

解决方案


推荐阅读