maintainer-feedback requested: [Bug 255602] lang/python38: 'import turtle' fails: ModuleNotFoundError: No module named '_tkinter'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 5 00:17:47 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-python (Nobody)
<python at FreeBSD.org> for maintainer-feedback:
Bug 255602: lang/python38: 'import turtle' fails: ModuleNotFoundError: No
module named '_tkinter'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255602



--- Description ---
> $ python3.8
> Python 3.8.8 (default, Feb 25 2021, 10:57:58) 
> [Clang 10.0.1 (git at github.com:llvm/llvm-project.git
llvmorg-10.0.1-0-gef32c611a on freebsd12
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import turtle
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python3.8/turtle.py", line 107, in <module>
>     import tkinter as TK
>   File "/usr/local/lib/python3.8/tkinter/__init__.py", line 36, in <module>
>     import _tkinter # If this fails your Python may not be configured for Tk
> ModuleNotFoundError: No module named '_tkinter'
> >>> 

FreeBSD 12.2


More information about the freebsd-python mailing list