text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

"Windows bat relies on miniconda which can not be silently installed under a path with spaces"

Open DuckersMcQuack opened this issue 1 year ago • 4 comments

Describe the bug

"This script relies on Miniconda which can not be silently installed under a path with spaces. Press any key to continue . . . "

The error i'm getting. Being pretty "new" to python and anaconda, so this one is unknown to me how to fix.

Using windows 11.

Is there an existing issue for this?

  • [X] I have searched the existing issues

Reproduction

Doubleclick to run. Pretty much all i did.

Screenshot

WindowsTerminal_PlzwZeuLFC

Logs

Nothing made from what can't be run.

System Info

Windows 11 home
Installed on SN850 1TB
5900x
64GB ram
RTX 3090 suprim X

DuckersMcQuack avatar Apr 22 '23 01:04 DuckersMcQuack

As stated in the error message, there cannot be a space in the names of any of the folders that the program is in. "language model" has a space in its name. Either rename that folder to something like "language_model" or (highly recommended) move your "oobabooga_windows" folder directly onto the c:\ drive ie. Open "This PC". Open "Windoes Elven (C:)". Drag your existing "oobabooga_windows" folder into that window. After that the install will work correctly & you'll avoid having to deal with windows path length issues you'd likely be encountering later on anyway.

wintergrey avatar Apr 22 '23 02:04 wintergrey

i had the same issue thanks!

Renegadesoffun avatar Apr 22 '23 09:04 Renegadesoffun

That worked! Thank you @wintergrey!

SenrirenTokyo avatar Apr 29 '23 23:04 SenrirenTokyo

Thanks, removing the spaces helped.

edd-ie avatar May 07 '23 09:05 edd-ie

As stated in the error message, there cannot be a space in the names of any of the folders that the program is in. "language model" has a space in its name. Either rename that folder to something like "language_model" or (highly recommended) move your "oobabooga_windows" folder directly onto the c:\ drive ie. Open "This PC". Open "Windoes Elven (C:)". Drag your existing "oobabooga_windows" folder into that window. After that the install will work correctly & you'll avoid having to deal with windows path length issues you'd likely be encountering later on anyway.

I've tried this but it says miniconda is unable to download or run on my PC Is there a solution for my issue?

CrazyFanatic avatar May 21 '23 05:05 CrazyFanatic

Thanks, it's worked!

NiTiResearcher avatar Jun 11 '23 01:06 NiTiResearcher

Hey, all! I'm encountering the issue but I have changed all the spaces to "_"

image

I've Tried all the drives too.

Nevadead avatar Jun 16 '23 15:06 Nevadead

As stated in the error message, there cannot be a space in the names of any of the folders that the program is in. "language model" has a space in its name. Either rename that folder to something like "language_model" or (highly recommended) move your "oobabooga_windows" folder directly onto the c:\ drive ie. Open "This PC". Open "Windoes Elven (C:)". Drag your existing "oobabooga_windows" folder into that window. After that the install will work correctly & you'll avoid having to deal with windows path length issues you'd likely be encountering later on anyway.

This was the solution for me. Thank a lot

lvillalta100 avatar Jul 29 '23 03:07 lvillalta100

This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.

github-actions[bot] avatar Sep 09 '23 23:09 github-actions[bot]

Its still relevant and will always be relevant until there is some easy way to bypass this. I shouldn't have to rename my windows users to run a program.

2-fly-4-ai avatar Oct 21 '23 23:10 2-fly-4-ai

Thanks That work

Lakshagrawal avatar Feb 03 '24 09:02 Lakshagrawal

This script relies on Miniconda which can not be silently installed under a path with spaces. Press any key to continue. .

Guys! I can't find the directory. I've done everything... I can't find anything about the programme! I don't know what else to do... Anyone who can help me, I'd appreciate it...

borioli avatar Apr 25 '24 02:04 borioli

This script relies on Miniconda which can not be silently installed under a path with spaces. Press any key to continue. .

Guys! I can't find the directory. I've done everything... I can't find anything about the programme! I don't know what else to do... Anyone who can help me, I'd appreciate it...

Are you sure that text-generation-webui is located in a folder that does not have spaces in its name?

PandaBTBs avatar May 17 '24 18:05 PandaBTBs

As stated in the error message, there cannot be a space in the names of any of the folders that the program is in. "language model" has a space in its name. Either rename that folder to something like "language_model" or (highly recommended) move your "oobabooga_windows" folder directly onto the c:\ drive ie. Open "This PC". Open "Windoes Elven (C:)". Drag your existing "oobabooga_windows" folder into that window. After that the install will work correctly & you'll avoid having to deal with windows path length issues you'd likely be encountering later on anyway.

This was the solution for me. There should be no spaces in any of the path folders where it is being installed either.

TheCreizy avatar Jun 12 '24 19:06 TheCreizy

Its still relevant and will always be relevant until there is some easy way to bypass this. I shouldn't have to rename my windows users to run a program.

Absolutely! This is ridiculous. Requiring the end user to change where he wants the program to run and rename folders he is using for specific reasons is simply bad end user design.

Dump miniconda and change the install to use pipx. Or separate out the miniconda install.

richardstevenhack avatar Jul 09 '24 01:07 richardstevenhack