astral-sh / uv

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

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

Open dancergraham opened 5 days ago

dancergraham commented 5 days 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 5 days ago

Thanks!