Tkinter能在macOS Catalina上使用金属吗?

2024-10-02 22:31:25 发布

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

我正试图在macOS Catalina 10.15.5虚拟机中运行我的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. 

我从this github threadthis stack thread知道OpenGL已经被贬值,取而代之的是Metal,但我不确定这与tkinter有什么关系,因为8.6.10预装了新的python.org安装。我也不确定tkinter的哪一部分依赖于OpenGL,因为其中图形最密集的部分是matplotlib

谁能给我指出正确的方向吗?考虑到mac运行Tk Aqua Coco的bug历史,我现在应该放弃使用tkinter for macOS吗


Tags: to应用程序basictkintercreatemacosthisthread