Upon running irm https://unsloth.ai/install.ps1 | iex an error occurs upon installing unsloth python packages when the user account on a windows device includes spaces. This is very common for microsoft accounts that create the user on the widnows device with the user's first and last name.
Example user: 'C:/Users/Dummy Profile/'
Error during install:
deps [====----------------] 2/9 unsloth extras uv failed, falling back to pip...
error: Unexpected '[', expected '-c', '-e', '-r' or the start of a requirement at C:\Users\Dummy:1:1
This occurs starting at install_python_stack.py:345 in .unsloth\studio\unsloth_studio\Lib\site-packages\studio
Additionally I noticed that req_args variable actually patches this issue using DUMMYP~1. The cmd can be fixed by replacing the incorrect name with the given string (or escaping whitespace).
Upon running
irm https://unsloth.ai/install.ps1 | iexan error occurs upon installing unsloth python packages when the user account on a windows device includes spaces. This is very common for microsoft accounts that create the user on the widnows device with the user's first and last name.Example user: 'C:/Users/Dummy Profile/'
Error during install:
deps [====----------------] 2/9 unsloth extras uv failed, falling back to pip...error: Unexpected '[', expected '-c', '-e', '-r' or the start of a requirement at C:\Users\Dummy:1:1This occurs starting at install_python_stack.py:345 in .unsloth\studio\unsloth_studio\Lib\site-packages\studio
Additionally I noticed that
req_argsvariable actually patches this issue usingDUMMYP~1. The cmd can be fixed by replacing the incorrect name with the given string (or escaping whitespace).