I am working to update the version of Brython used in
runpython.org, from 3.10 (3.10.6) to 3.11 (3.11.3). 3.12 is still out of reach due to some dependency issues on the server side.
Under 3.10.6, turtle "just worked" and most demo turtle examples were fine.
Under 3.11.3, the code:
import turtle
fails with:
Traceback (most recent call last):
File "
http://127.0.0.1:8080/#__main__", line 10, in __EXECUTE__BRYTHON__
exec(content, {"__name__":"__main__"})
File "<string>", line 1, in <module>
File "
VFS.turtle.py", line 107, in <module>
import tkinter as TK
ModuleNotFoundError: tkinter
I have tried a few interesting things (for example: brython-cli make_package tkinter) but the error persists. I would appreciate any tips that would get me moving again. Thanks!
-Eric