InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

Problem running invoke.bat after install

Open CalBG opened this issue 2 years ago • 10 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

No response

What happened?

After finishing install.bat I tried to run invoke.bat but it gave the below message. If I select option 2, nothing happens. Please assist.

'conda' is not recognized as an internal or external command, operable program or batch file. Do you want to generate images using the

  1. command-line
  2. browser-based UI
  3. open the developer console Please enter 1, 2 or 3:

Screenshots

image

Additional context

The invoke.bat file wasnt automatically in the install directory I selected but all the other installed files were. I searched and found the invoke.bat.in file in my System32 folder. I copied it to my installation folder and renamed to invoke.bat (to make it a batch file). When I run it from either folder I get the same message.

Contact Details

[email protected]

CalBG avatar Dec 07 '22 12:12 CalBG

I have the same problem

firesidefilmsla avatar Dec 11 '22 17:12 firesidefilmsla

i have the same problem. i press number 2 and nothing happened. the window closed automatically after "have fun''

billeldjezzar avatar Dec 12 '22 04:12 billeldjezzar

same here. setup worked without problems, but have only one templatefile, which is called so: C:\Users\dmrad\OneDrive\invokeAI\installer\templates invoke.bat.in

Upponzella avatar Dec 12 '22 13:12 Upponzella

same here. setup worked without problems, but have only one templatefile, which is called so: C:\Users\dmrad\OneDrive\invokeAI\installer\templates invoke.bat.in

same here

gus-uktena avatar Dec 12 '22 14:12 gus-uktena

I managed to solve it by downloading and installing using the latest release here: https://github.com/invoke-ai/InvokeAI/releases/tag/v2.2.3

CalBG avatar Dec 12 '22 15:12 CalBG

thanks i try. problems makes version 2.2.4

Upponzella avatar Dec 12 '22 15:12 Upponzella

I managed to solve it by downloading and installing using the latest release here: https://github.com/invoke-ai/InvokeAI/releases/tag/v2.2.3

This is the exact version that I just installed. (all good during the process). It seems that the .bat file is not copied to the invoke ai folder at the end

gus-uktena avatar Dec 12 '22 15:12 gus-uktena

same here. setup worked without problems, but have only one templatefile, which is called so: C:\Users\dmrad\OneDrive\invokeAI\installer\templates invoke.bat.in

same here

josephk387 avatar Dec 12 '22 15:12 josephk387

Did an update now. then the invokeai.bat file appears. but during the update now comes the following:

ERROR: Ignores the following versions that require a different Python version: 0.55.2 Requires-Python <3.5; 1.21.2 Requires-Python >=3.7,<3. 11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that met the torch==1.12.1 requirement (from versions: none) ERROR: No matching distribution found for torch==1.12.1

have loaded the update via anaconda. but brings nothing. i then come back to the app when it also becomes installable for designers.

Upponzella avatar Dec 12 '22 16:12 Upponzella

Did an update now. then the invokeai.bat file appears. but during the update now comes the following:

ERROR: Ignores the following versions that require a different Python version: 0.55.2 Requires-Python <3.5; 1.21.2 Requires-Python >=3.7,<3. 11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 ERROR: Could not find a version that met the torch==1.12.1 requirement (from versions: none) ERROR: No matching distribution found for torch==1.12.1

have loaded the update via anaconda. but brings nothing. i then come back to the app when it also becomes installable for designers.

Install Python Version 3.10

nazeerPro avatar Dec 13 '22 03:12 nazeerPro

There has been no activity in this issue for 14 days. If this issue is still being experienced, please reply with an updated confirmation that the issue is still being experienced with the latest release.

github-actions[bot] avatar Mar 18 '23 06:03 github-actions[bot]