I can't install distutils, it says the following error: No matching distribution found for distutils, tell me what to do?
python C:\Users\Admin\Desktop\assistant.py
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\assistant.py", line 58, in
This is the tracker for the https://www.python.org/ website.
Please close this issue and ask your question in the help forum: https://discuss.python.org/c/users/7
from distutils.version import LooseVersionModuleNotFoundError: No module named 'distutils'
Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 “Deprecate distutils module”. For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. (Contributed by Victor Stinner in gh-92584.)
Source: https://docs.python.org/3/whatsnew/3.12.html