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

Unable to run uv managed Python on an Alpine based image. #6595

Closed
narigama opened this issue Aug 25, 2024 · 1 comment
Closed

Unable to run uv managed Python on an Alpine based image. #6595

narigama opened this issue Aug 25, 2024 · 1 comment

Comments

@narigama
Copy link

To replicate the issue, run the following:

docker run --rm -it alpine ash

# inside the container, setup uv...
apk update
apk add --no-cache curl
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv python install 3.12

# this one fails!
uv run --verbose python --version
DEBUG uv 0.3.3
DEBUG No project found; searching for Python interpreter
DEBUG Searching for Python interpreter in managed installations or system path
DEBUG Searching for managed installations at `.local/share/uv/python`
DEBUG Found managed installation `cpython-3.12.5-linux-x86_64-gnu`
DEBUG Failed to query Python interpreter at `/root/.local/share/uv/python/cpython-3.12.5-linux-x86_64-gnu/bin/python3`
error: Failed to query Python interpreter at `/root/.local/share/uv/python/cpython-3.12.5-linux-x86_64-gnu/bin/python3`
  Caused by: No such file or directory (os error 2)
@narigama
Copy link
Author

Ah, this is probably a repeat of #6392.

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

1 participant