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
When I tried to initialize a new project, I received the following:
❯ uv init TestProject --verbose
DEBUG uv 0.5.1 (f399a5271 2024-11-08)
DEBUG Reading Python requests from version file at `/Users/edmund/Downloads/.python-version`
DEBUG Searching for Python interpreter with executable name `3.10-dev`
DEBUG Checking for Python interpreter at executable name `3.10-dev`
error: No interpreter found forexecutable name `3.10-dev`in virtual environments, managed installations, or search path
The fix
Removed the .python-version present in the root folder from where I was trying to create the new project.
Longer term fix
I'm not sure if there is a better way to report the error, or dare I say use the version of python that I installed using uv. I don't know enough to have a POV.
The text was updated successfully, but these errors were encountered:
Thanks for filing. @Kanerix is right that we're reading 3.10-dev from your .python-version file. Then, because it's not a valid version, we assume it's the name of an executable, and we can't find an executable named 3.10-dev. Agree it would be nice if the error message included more context here.
I am new to uv.
The problem
When I tried to initialize a new project, I received the following:
The fix
Removed the
.python-version
present in the root folder from where I was trying to create the new project.Longer term fix
I'm not sure if there is a better way to report the error, or dare I say use the version of python that I installed using
uv
. I don't know enough to have a POV.The text was updated successfully, but these errors were encountered: