Closed
Description
I have Python 3.12.7 installed and manager by uv, and i want to uninstall it. Unfortunately, i don't manage to do so using the uv dedicated command.
Here is a list of all the commands i've tried :
uv python uninstall 3.12
uv python uninstall [email protected]
uv python uninstall cpython-3.12.7-linux-x86_64-gnu
uv python uninstall [email protected]
All of them gives to me this output :
Searching for Python versions matching: CPython 3.12.7
error: No such file or directory (os error 2)
With debug enabled (using --verbose
and settings RUST_LOG="trace"
):
DEBUG uv 0.4.29
TRACE Checking lock for `.local/share/uv/python` at `.local/share/uv/python/.lock`
DEBUG Acquired lock for `.local/share/uv/python`
Searching for Python versions matching: cpython-3.12.7-linux-x86_64-gnu
DEBUG Released lock at `/home/novalix/.local/share/uv/python/.lock`
error: No such file or directory (os error 2)
Here is all my installed python (using uv python list --only-installed
):
cpython-3.13.0-linux-x86_64-gnu /usr/bin/python3.13
cpython-3.13.0-linux-x86_64-gnu /usr/bin/python3 -> python3.13
cpython-3.13.0-linux-x86_64-gnu /usr/bin/python -> ./python3
cpython-3.13.0-linux-x86_64-gnu /bin/python3.13
cpython-3.13.0-linux-x86_64-gnu /bin/python3 -> python3.13
cpython-3.13.0-linux-x86_64-gnu /bin/python -> ./python3
cpython-3.13.0-linux-x86_64-gnu .local/share/uv/python/cpython-3.13.0-linux-x86_64-gnu/bin/python3.13
cpython-3.12.7-linux-x86_64-gnu .local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/bin/python3.12
Installation information :
- uv version : 0.4.29
- affected platforms : Fedora 41, Windows
I assume I'm doing something wrong, but i don't know what.
Thank you for your help in advance !