astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
26.54k stars 772 forks source link

uv cannot self update on windows with a space in the user name #7988

Open dancergraham opened 1 month ago

dancergraham commented 1 month ago

trying uv self update Using uv-self 0.4.7 (a178051e8 2024-09-07) on Windows 11 With a space in my user name - home directory C:\Users\Graham Knapp Error:


C:\Users\Graham : The term 'C:\Users\Graham' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ C:\Users\Graham Knapp\AppData\Local\Temp\.tmp3XZhI9\installer.ps1
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Graham:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
zanieb commented 1 month ago

Thanks!