You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
distutils from the standard library was deprecated in 3.10 (PEP 632) and removed in 3.12. It is still available on many systems as it is included with setuptools but if this is not installed, running udiskie yields the following error:
ModuleNotFoundError: No module named 'distutils'
Full stack trace:
Traceback (most recent call last):
File "/home/***/.local/bin/udiskie", line 5, in <module>
from udiskie.cli import Daemon
File "/home/***/.local/lib/python3.12/site-packages/udiskie/cli.py", line 21, in <module>
import udiskie.mount
File "/home/***/.local/lib/python3.12/site-packages/udiskie/mount.py", line 5, in <module>
from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils'
I installed udiskie via pip on Linux Mint 21.2 with Python 3.12.1 installed manually via make altinstall.
$ pip --version
pip 23.3.1 from /home/***/.local/lib/python3.12/site-packages/pip (python 3.12)
The text was updated successfully, but these errors were encountered:
distutils
from the standard library was deprecated in 3.10 (PEP 632) and removed in 3.12. It is still available on many systems as it is included withsetuptools
but if this is not installed, runningudiskie
yields the following error:ModuleNotFoundError: No module named 'distutils'
Full stack trace:
I installed
udiskie
viapip
on Linux Mint 21.2 with Python 3.12.1 installed manually viamake altinstall
.The text was updated successfully, but these errors were encountered: