-
Notifications
You must be signed in to change notification settings - Fork 2.9k
uv venv --allow-existing no longer works in 0.7.14 #14249
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
On Windows uv venv --allow-existing is returning a The file exists. (os error 80) error with the latest version of uv. Can confirm that the issue does not occur after downgrading to 0.7.13.
>uv venv -v
DEBUG uv 0.7.14 (e7f596711 2025-06-23)
DEBUG Found project root: `C:\My Files\Workspaces\Personal\Projects\test`
DEBUG No workspace root found, using project root
DEBUG No Python version file found in workspace: C:\My Files\Workspaces\Personal\Projects\test
DEBUG Using Python request `>=3.12` from `requires-python` metadata
DEBUG Searching for Python >=3.12 in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\user\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.13.5-windows-x86_64-none`
DEBUG Found `cpython-3.13.5-windows-x86_64-none` at `C:\Users\user\AppData\Roaming\uv\python\cpython-3.13.5-windows-x86_64-none\python.exe` (managed installations)
Using CPython 3.13.5
Creating virtual environment at: .venv
DEBUG Using base executable for virtual environment: C:\Users\user\AppData\Roaming\uv\python\cpython-3.13.5-windows-x86_64-none\python.exe
Activate with: .venv\Scripts\activate
>uv venv --allow-existing -v
DEBUG uv 0.7.14 (e7f596711 2025-06-23)
DEBUG Found project root: `C:\My Files\Workspaces\Personal\Projects\test`
DEBUG No workspace root found, using project root
DEBUG No Python version file found in workspace: C:\My Files\Workspaces\Personal\Projects\test
DEBUG Using Python request `>=3.12` from `requires-python` metadata
DEBUG Searching for Python >=3.12 in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\user\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.13.5-windows-x86_64-none`
DEBUG Found `cpython-3.13.5-windows-x86_64-none` at `C:\Users\user\AppData\Roaming\uv\python\cpython-3.13.5-windows-x86_64-none\python.exe` (managed installations)
Using CPython 3.13.5
Creating virtual environment at: .venv
DEBUG Using base executable for virtual environment: C:\Users\user\AppData\Roaming\uv\python\cpython-3.13.5-windows-x86_64-none\python.exe
DEBUG Allowing existing directory
uv::venv::creation
× Failed to create virtualenv
├─▶ Failed to create Python executable link at .venv\Scripts\python.exe from
│ C:\Users\user\AppData\Roaming\uv\python\cpython-3.13.5-windows-x86_64-none\python.exe
╰─▶ The file exists. (os error 80)Platform
Windows 11
Version
0.7.14
Python version
Python 3.13.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working