Improve message when distutil is not available on legacy python. #4204
Labels
error messages
Messaging when something goes wrong
help wanted
Contribution especially encouraged
tracing
Verbose output and debugging
I use a local venv in python3.10 but compile requirements for python 3.8 (requirements used for dockerized apps) . I have both versions (along the default python 3.12) installed.
Even when I have no my 3.10 venv active uv reports the following
warning: The requested Python version 3.8 is not available. 3.10.14 will be used
. But if I runpython3.8
it works.Debugging with
--verbose
I found the causeso after installing
sudo apt install python3.8-distutils
it works.The error message could be clearer and indicate the exact issue, such as the missing distutils module, to help users resolve the problem more efficiently.
The text was updated successfully, but these errors were encountered: