About 1,260,000 results
Open links in new tab
  1. ModuleNotFoundError: No module named 'distutils' in Python 3.12

    Oct 7, 2023 · It appears that customtkinter uses distutils from the standard library. Unfortunately, you're using the newly released Python 3.12, which removed distutils after it being deprecated since Python …

  2. No module named 'distutils.util' ...but distutils is installed?

    Nov 11, 2021 · Installing Setuptools works because it creates a "fully featured" importable distutils package. The one that comes with Python can be missing pieces, depending on how Python was …

  3. Python 3.13, ModuleNotFoundError: No module named 'distutils'

    Feb 13, 2024 · Installed another Python version from the deadsnakes repo that still had distutils, for example Python 3.11. Updated pip of that version (i.e. python3.11 -m pip install --upgrade pip).

  4. How can I install distutils for Python on Ubuntu?

    However, if you have an ordinary Python distribution, 3.11 or older, which came with the system, on Ubuntu, and a setup.py or other code which is looking for the standard distutils functionality - the …

  5. python - How can one fully replace distutils, which is deprecated in 3. ...

    According to PEP 632, distutils will be formally marked as deprecated, and in Python 3.12, it will be removed. My product is soon going to support Python 3.10 and I don't want to put up with deprec...

  6. How to install python3-distutils on ubuntu 24.04 - Stack Overflow

    May 6, 2024 · In my attempt to install python3-distutils on Ubuntu 24.04, I used the command sudo apt-get install python3-distutils. I expected this command to successfully install the python3-distutils …

  7. python - No module named 'distutils' despite setuptools installed ...

    Dec 23, 2023 · This problem is taking place because you have SETUPTOOLS_USE_DISTUTILS=stdlib set in your environment, while Python 3.12 no longer provides any standard-library distutils version at …

  8. python - Why did I get an error ModuleNotFoundError: No module …

    Python 3.12 does not come with a stdlib distutils module (changelog), because distutils was deprecated in 3.10 and removed in 3.12. See PEP 632 – Deprecate distutils module.

  9. python - ModuleNotFoundError: No module named …

    Oct 7, 2024 · ModuleNotFoundError: No module named 'distutils.msvccompiler' when trying to install numpy 1.16 Asked 1 year, 2 months ago Modified 11 months ago Viewed 22k times

  10. python - What does the 'distutils_hack' module do? - Stack Overflow

    Sep 3, 2021 · It's used by setuptools to replace the stdlib distutils with setuptools' bundled distutils library. Quoting ncoghlan from pypa/setuptools#417 on why this is necessary: While CPython as a …