-
Notifications
You must be signed in to change notification settings - Fork 760
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
Activation prompt with invalid path on Windows Git Bash #5950
Labels
bug
Something isn't working
Comments
Thanks for the report! |
Do we need to treat Windows Git Bash as its own shell? |
I think it should be sufficient to always use the portable path |
As in #5956 It might make sense to special-case Windows Git Bash still, we see oddities with it. |
zanieb
added a commit
that referenced
this issue
Aug 9, 2024
zanieb
added a commit
that referenced
this issue
Aug 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Windows 11, uv 0.2.34 (c681c5a 2024-08-07)
Activating a environment after creating it:
$ uv v
Using Python 3.12.0 interpreter at: C:\Users\MaagB\AppData\Local\Programs\Python\Python312\python.exe
Creating virtualenv at: .venv
Activate with: source .venv\Scripts\activate
$ source .venv\Scripts\activate
bash: .venvScriptsactivate: No such file or directory
Problem:
git bash on windows seems to resolve the escape sequences before making the source call. To properly activate the environment we either need to properly espace the backslash by another backslash:
$ source .venv\Scripts\activate
(tmpinstall)
Or use the Unix Path:
$ source .venv/Scripts/activate
(tmpinstall)
The text was updated successfully, but these errors were encountered: