[英]MacBook Pro Crash when trying to run python's turtle module
I tried to execute a python program via terminal, and it restarted my MacBook.我试图通过终端执行一个 python 程序,它重新启动了我的 MacBook。
And I tried to find out what the cause was, so I executed Python programs, and this is the result;我试图找出原因,所以我执行了Python程序,这就是结果;
pip --version
→ pip 20.0.2 pip --version
→ pip 20.0.2Also this popped up once:这也弹出一次:
2020-03-16 22:32:47.640 python[32453:105648] CGSTrackingRegionSetIsEnabled returned CG error 268435459
(I searched in the Internet, but I only found Tkinter cases, so I think this bug is related with window opening in Python?) (我在网上查了一下,只找到了Tkinter的案例,所以我觉得这个bug和Python中的窗口打开有关?)
It restarts every single time when I execute the turtle program in Python.当我在 Python 中执行乌龟程序时,它每次都会重新启动。 How do I fix this bug?我该如何修复这个错误?
Turtle uses graphics.龟使用图形。 Maybe due to low graphic resolution, your machine is crashing.可能由于图形分辨率低,您的机器崩溃了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.