python - 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 吗?
解决方案
推荐阅读
- python - 打开 CV 分水岭没有正确分割椭圆对象
- python-3.x - 如何选择目录(对话框)并在 GUI 上打印选定的目录
- ios - 更新 MapView 引脚位置
- java - 为什么设置火花上下文时出现此错误?
- postgresql - SpringBoot-使用PostgreSQL的多个参数的单值
- javascript - 页面重新加载成功消息php
- java - “.count”在可分页查询中的 spring jpa-named-queries.properties 文件中不起作用
- javascript - 无法更改默认的 nuxt favicon
- python - 如何修改给定的代码以使最终列表仅包含每个字母的单个副本?
- javascript - 如何定义背景滑块的背景以及如何修复它?