turtle problem in 3.11.3?

32 views
Skip to first unread message

Eric Dennison

unread,
Jan 7, 2024, 6:13:05 PMJan 7
to brython
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

Pierre Quentel

unread,
Jan 9, 2024, 3:51:24 AMJan 9
to brython
It seems that this issue in only present in 3.11.3, not in 3.11.2. Can you check ?
- Pierre

Eric Dennison

unread,
Jan 9, 2024, 1:08:19 PMJan 9
to brython
I certainly will!! Thank you.
-Eric

Eric Dennison

unread,
Jan 11, 2024, 4:31:31 PMJan 11
to brython
Yes, 3.11.2 works like a charm. Thanks so much!
-Eric
Reply all
Reply to author
Forward
0 new messages