郑之为 <jettzh...@foxmail.com> added the comment: now it's more like: *** WARNING: renaming "_tkinter" since importing it failed: dlopen(/Users/jett/cpython/build/lib.macosx-11.5-universal2-3.11/_tkinter.cpython-311-darwin.so, 2): Symbol not found: _TclBN_mp_clear Referenced from: /Users/jett/cpython/build/lib.macosx-11.5-universal2-3.11/_tkinter.cpython-311-darwin.so Expected in: flat namespace in /Users/jett/cpython/build/lib.macosx-11.5-universal2-3.11/_tkinter.cpython-311-darwin.so
Python build finished successfully! The necessary bits to build these optional modules were not found: _gdbm ossaudiodev spwd To find the necessary bits, look in setup.py in detect_modules() for the module's name. The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc pwd time Following modules built successfully but were removed because they could not be imported: _tkinter and this: jett@zhengzhweidembp iucn % /Users/jett/python311/bin/python3.11 guimain.py Traceback (most recent call last): File "/Users/jett/Desktop/GitHub/Repos/iucn/guimain.py", line 1, in <module> from tkinter import * ^^^^^^^^^^^^^^^^^^^^^ File "/Users/jett/python311/lib/python3.11/tkinter/__init__.py", line 37, in <module> import _tkinter # If this fails your Python may not be configured for Tk ^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named '_tkinter' ans this. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45002> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com