InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Invoke.bat not created in folder

Open samaBR85 opened this issue 3 years ago • 27 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

12Gb

What happened?

The installer goes well but to the very end it stops at "installing invoke.bat". In the folder there're all files but invoke.bat.

Screenshots

** Model Installation Successful ** You're all set! You may now launch InvokeAI using one of these two commands: Web version: python scripts/invoke.py --web (connect to http://localhost:9090) Command-line version: python scripts/invoke.py

If you installed manually, remember to activate the 'invokeai' environment before running invoke.py. If you installed using the automated installation script, execute "invoke.sh" (Linux/Mac) or "invoke.bat" (Windows) to start InvokeAI.

Have fun!

***** Finished downloading models ***** ***** Installing invoke.bat ****** The system cannot find the file specified. All done! Execute the file invoke.bat in this directory to start InvokeAI Press any key to continue . . .

Screenshot_10

samaBR85 avatar Dec 01 '22 22:12 samaBR85

Same issue for me

dhelonious avatar Dec 01 '22 22:12 dhelonious

I have the same problem.

Pierrot1969 avatar Dec 01 '22 22:12 Pierrot1969

same here obraz

Rogal80 avatar Dec 01 '22 22:12 Rogal80

Same

rturner522 avatar Dec 01 '22 23:12 rturner522

and now we wait

Aksanya avatar Dec 01 '22 23:12 Aksanya

Well, any updates on this issue?

ClickToConfirm avatar Dec 01 '22 23:12 ClickToConfirm

Same for me :(

Niphion avatar Dec 01 '22 23:12 Niphion

Same here...

slizgi avatar Dec 01 '22 23:12 slizgi

Same here, no invoke.bat

nickcychong avatar Dec 02 '22 00:12 nickcychong

I solved it by using this installer: invokeAI-src-installer-windows.zip

Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

Aksanya avatar Dec 02 '22 01:12 Aksanya

I solved it by using this installer: invokeAI-src-installer-windows.zip

Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

This is the zip I used to install, and no invoke.bat either. Tried installing again and no luck...

Eprise1701e avatar Dec 02 '22 01:12 Eprise1701e

I solved it by using this installer: invokeAI-src-installer-windows.zip Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

This is the zip I used to install, and no invoke.bat either. Tried installing again and no luck...

You sure? The one I linked is not the same version as in the github page

Aksanya avatar Dec 02 '22 01:12 Aksanya

I solved it by using this installer: invokeAI-src-installer-windows.zip

Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

I tried you method, and despite the TERMINAL saying that it was successful, still no invoke.bat file in the folder.

samaBR85 avatar Dec 02 '22 02:12 samaBR85

I solved it by using this installer: invokeAI-src-installer-windows.zip

Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

This worked for me, thank you!

CeterPushing avatar Dec 02 '22 02:12 CeterPushing

It worked for me too. The .bat file has appeared.

Pierrot1969 avatar Dec 02 '22 02:12 Pierrot1969

In the installer you can edit this line -

echo ***** Installing invoke.bat ****** change this line to this >>copy binary_installer\invoke.bat.in .\invoke.bat echo All done! Execute the file invoke.bat in this directory to start InvokeAI

thanks! it worked

samaBR85 avatar Dec 02 '22 03:12 samaBR85

echo ***** Installing invoke.bat ****** copy installer\invoke.bat .\invoke.bat >> Change to "copy binary_installer\invoke.bat.in .\invoke.bat" echo All done! Execute the file invoke.bat in this directory to start InvokeAI

Should work

JAMadison avatar Dec 02 '22 03:12 JAMadison

I solved it by using this installer: invokeAI-src-installer-windows.zip

Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

This worked for me too and I also did another thing wrong, I didn't make a new token and put it on "READ" I copied a token that I made a while ago, that was set to "WRITE" And I can imagine, this might be something that caused the issue.

Niphion avatar Dec 02 '22 03:12 Niphion

I solved it by using this installer: invokeAI-src-installer-windows.zip Note: On "Installing pip dependencies", it takes a while, it will eventually move on.

This is the zip I used to install, and no invoke.bat either. Tried installing again and no luck...

You sure? The one I linked is not the same version as in the github page

My apologies, I thought it was the same. Tried it and it worked. Much appreciated.

Eprise1701e avatar Dec 02 '22 03:12 Eprise1701e

Link is no longer valid... :(

Anyone have a copy I can have?

rturner522 avatar Dec 02 '22 05:12 rturner522

I have the same problem and the link is no longer valid

FoneCheck avatar Dec 02 '22 05:12 FoneCheck

I had this problem too. What I've ended up doing is taking the invoke.bat.in file from the binary_installer folder and copied it into the root folder where invoke.bat was supposed to go. I then removed the .in file extension, leaving it as invoke.bat.

Ran it and it appears to work. I haven't tried all features yet, so I don't know if there's some roadblock waiting for me but I did a test image and it generated just fine.

TheRealPhooney avatar Dec 02 '22 07:12 TheRealPhooney

I had this problem too. What I've ended up doing is taking the invoke.bat.in file from the binary_installer folder and copied it into the root folder where invoke.bat was supposed to go. I then removed the .in file extension, leaving it as invoke.bat.

Ran it and it appears to work. I haven't tried all features yet, so I don't know if there's some roadblock waiting for me but I did a test image and it generated just fine.

That did the trick for me, thanks!

RafuTH avatar Dec 02 '22 08:12 RafuTH

I also copied the file, renamed and it ran, but I am stuck in a loop. I run it, it asks for model downloads, I skip that, it just closes the window. I even tried downloading the models (again) and it still just closes and doesn't run.

egormly avatar Dec 02 '22 13:12 egormly

I have both the regular installation and the source code installation. This trick worked great for the source code installation but did not work for the regular installation. The regular installation starts but than cuts off.

FoneCheck avatar Dec 02 '22 15:12 FoneCheck

Same issue here, just downloaded and installed, but no invoke.bat file created. Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.2 Uninstalling pip-22.2.2: Successfully uninstalled pip-22.2.2 Successfully installed pip-22.3.1 ***** Updated pip ***** The system cannot find the path specified. ----- requirements file copy failed ----- Press any key to continue . . .

In install.bat

set err_msg=----- requirements file copy failed -----
copy installer\py3.10-windows-x86_64-cuda-reqs.txt requirements.txt
if %errorlevel% neq 0 goto err_exit

should be

set err_msg=----- requirements file copy failed -----
copy binary_installer\py3.10-windows-x86_64-cuda-reqs.txt requirements.txt
if %errorlevel% neq 0 goto err_exit

Similarily


echo ***** Installing invoke.bat ******
copy installer\invoke.bat .\invoke.bat
echo All done! Execute the file invoke.bat in this directory to start InvokeAI

should be

echo ***** Installing invoke.bat ******
copy binary_installer\invoke.bat.in .\invoke.bat
echo All done! Execute the file invoke.bat in this directory to start InvokeAI

johnosbb avatar Dec 02 '22 16:12 johnosbb

Still no update? Lame-sauce. Not trying to sound entitled I was just so excited to try this out.

rturner522 avatar Dec 03 '22 01:12 rturner522

Corrected in version 2.2.3

samaBR85 avatar Dec 03 '22 20:12 samaBR85

The installer goes well but to the very end it stops at "installing invoke.bat". In the folder there are all files but NO invoke.bat. I used version 2.2.3

FICOESBEJO avatar Dec 11 '22 19:12 FICOESBEJO

I'm having the same issue with 2.2.3. Copying invokeai.bat.in to the base folder and renaming does not work either producing the following error:

The system cannot find the path specified. 'deactivate' is not recognized as an internal or external command, operable program or batch file.

cwallace avatar Dec 11 '22 20:12 cwallace