-
Notifications
You must be signed in to change notification settings - Fork 892
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 init command got an error on windows #6393
Comments
Weird! Thanks for the report. Is there a Does |
It indeed worked with an warning: PS C:\Users\joe\Projects\others> uv init my-project --no-workspace
warning: Ignoring workspace discovery error due to `--no-workspace`: No `project` table found in: `C:\Users\joe`
Initialized project `my-project` at `C:\Users\joe\Projects\others\my-project` The folder structure of newly-created my-project: PS C:\Users\joe\Projects\others\my-project> tree /F
Folder PATH listing
Volume serial number is D62B-04B3
C:.
│ pyproject.toml
│ README.md
│
└───src
└───my_project
__init__.py
|
I think this is working as intended. It sounds like you maybe had an invalid |
@charliermarsh sounds like this error message isn't great though — we should probably include |
Similar error when trying to initialize a new project in Windows 11
I worked through the rest of the installation instructions as listed in the docs. Speaking supportively and constructively as a fellow FOSS developer - I'd prioritize a fix on this if I were y'all. I'm an experienced developer who followed all the instructions in your docs and I was met with a completely show-stopping error with no obvious route for a fix. Adding the If I wasn't so excited about this project, that would have been enough for me to bounce away from this project and never look back. Generally when I see this kind of breaking bug in a project's intro tutorial, my brain immediately tags it as 'not ready for prime time' Thanks for your work on this! I look forward to using this tool! gl;hf!❤️ |
Thanks, I can make some improvements here now. |
Symptom
Whenever running
uv init my-project
, I am getting the same error:Context
The command I invoked on windows terminal.
The uv platform
The uv version
The text was updated successfully, but these errors were encountered: