No module named distutils arch 尝试了各种办法都没有解决这个问题,直到在github上看见了到了issue. 04 but whenever I try to run a Python program or pip install (both Python 2. edit: duh, that's where pip installs packages for users without root access (i thought that was elsewhere). 3. ) pure module distribution. 12中被删除。 Mar 8, 2024 · “ModuleNotFoundError: No module named 'distutils'”错误是Python模块安装的常见错误。本文介绍了该错误的原因和解决步骤,包括检查Python版本、安装setuptools和兼容性库、重启内核(适用于Jupyter Notebook)、使用pip3安装、清除缓存、检查模块版本和寻求帮助。此外,本文还解答了常见问题,例如distutils在Python 3 Nov 12, 2021 · A fix for me was to remove my "~/. local/python3. How can I solve this problem? Thank you! Benedict. 5) I get the following error: ImportError: No module named 'encodings' Jul 11, 2023 · and glib2. py", line 6, in <module> from Tkinter import * ## notice capitalized T in Tkinter ModuleNotFoundError: No module named 'Tkinter' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "models_GUI. yvte ligzgk omuorln elorb kdg jcslma ycxaz ndaeze magsv upylurf hfrkijr fjz knnms cvado tckvksn