Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv python list --installed does not list all installed versions #10049

Open
pythonweb2 opened this issue Dec 20, 2024 · 1 comment
Open

uv python list --installed does not list all installed versions #10049

pythonweb2 opened this issue Dec 20, 2024 · 1 comment

Comments

@pythonweb2
Copy link

pythonweb2 commented Dec 20, 2024

I installed an older version of python, It's located in the USER\AppData\Roaming\uv\python\cpython-3.8.10-windows-x86-none directory in windows.

When I run a command like uv python list --all-versions --all-arches --only-installed, I don't see it show up.

It would be nice if it would list that version using the --only-installed flag in the CLI.

@FishAlchemist
Copy link
Contributor

FishAlchemist commented Dec 20, 2024

uv python dir (My dir for managed-python)

USER\AppData\Roaming\uv\data\python

You should be able to resolve this by moving the python folder into the data folder, or by setting the environment variable UV_PYTHON_INSTALL_DIR to USER\AppData\Roaming\uv\python.

https://docs.astral.sh/uv/concepts/python-versions/#discovery-of-python-versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants