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
{{ message }}
Repository navigation
New uv version causes error "A virtual environment already exists at" #34
Installing uv.. installation_directory=/opt/actions-runner/_work/_actions/kishaningithub/setup-python-amazon-linux/v1/.setup-python-amazon-linux/uv
downloading uv 0.11.11 aarch64-unknown-linux-gnu
installing to /opt/actions-runner/_work/_actions/kishaningithub/setup-python-amazon-linux/v1/.setup-python-amazon-linux/uv
uv
uvx
everything's installed!
Run desired_python_version=$(${GITHUB_ACTION_PATH}/find-desired-python-version.sh "3.13" ".python-version")
desired_python_version=3.13
Run desired_python_version="3.13"
installation_directory=/home/ec2-user/.setup-python-amazon-linux/.python-versions/3.13
Run installation_directory="/home/ec2-user/.setup-python-amazon-linux/.python-versions/3.13"
Using CPython 3.13.13
Creating virtual environment at: /home/ec2-user/.setup-python-amazon-linux/.python-versions/3.13
error: Failed to create virtual environment
Caused by: A virtual environment already exists at `/home/ec2-user/.setup-python-amazon-linux/.python-versions/3.13`. Use `--clear` to replace it
This can be fixed by adding the --clear flag, I have opened a pr here for this: #33
Activity
kishaningithub commentedon May 8, 2026
Have released a new version with your fix 1.1.2 Thanks for your contribution!
kishaningithub commentedon May 8, 2026
Give it a spin and let me know
konkerama commentedon May 8, 2026
@kishaningithub thanks a lot, this seems to be working fine now