環境
・macOS Sonoma
・pycharm
・python 8
事象
from turtle import Turtle, Screen
from paddle import Paddle
from ball import Ball
import time
screen = Screen()
screen.setup(width=800, height=600)
screen.bgcolor("black")
screen.title("Pong")
screen.tracer(0)
エラーが出た
WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:
みたいな警告メッセージが出てきて、画面が飛んでくるはずだが、飛んでいなかった。
解決方法
pycharmでpython 3.9をpython 3.11に更新した。
結果
治った、warningメッセージが出てこないし、画面も起動できるようになった。
Comments NOTHING