Skip to content

[bug]: Failed to install invokeai #7808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
Kvento opened this issue Mar 18, 2025 · 4 comments
Open
1 task done

[bug]: Failed to install invokeai #7808

Kvento opened this issue Mar 18, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@Kvento
Copy link

Kvento commented Mar 18, 2025

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 4070 TI SUPER

GPU VRAM

16

Version number

5.8.1

Browser

Yandex

Python dependencies

No response

What happened

An error occurs during installation via the installer and the installation ends.

Installer log:

Starting up...
Installation parameters:
- Install location: F:\All_AIs\Image_Video\InvokeAI
- GPU type: nvidia>=30xx
- Torch Platform: cuda
Creating virtual environment...
> C:\Users\Kvento\AppData\Local\Temp\2tHK8V6PQNi8BAls37RH9oI97Ms\resources\bin\uv.exe venv --relocatable --prompt invoke --python 3.11 --python-preference only-managed F:\All_AIs\Image_Video\InvokeAI\.venv
Using CPython 3.11.11
Creating virtual environment at: F:\All_AIs\Image_Video\InvokeAI\.venv
Activate with: F:\All_AIs\Image_Video\InvokeAI\.venv\Scripts\activate
Installing invokeai package...
> C:\Users\Kvento\AppData\Local\Temp\2tHK8V6PQNi8BAls37RH9oI97Ms\resources\bin\uv.exe pip install --python 3.11 --python-preference only-managed invokeai==v5.8.1 --force-reinstall --compile-bytecode --index=https://download.pytorch.org/whl/cu124
  × Failed to download and build `pyperclip==1.9.0`
  ├─▶ Failed to deserialize cache entry
  ╰─▶ array had incorrect length, expected 5
  help: `pyperclip` (v1.9.0) was included because `invokeai` (v5.8.1)
        depends on `pyperclip`
Failed to install invokeai python package: Process exited with code 1
Try installing again with Repair mode enabled to fix this.
Ask for help on Discord or GitHub if you continue to have issues.

What you expected to happen

The installation completes successfully and Invoke AI works.

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

@Kvento Kvento added the bug Something isn't working label Mar 18, 2025
@psychedelicious
Copy link
Collaborator

Please follow the instructions in the log message and retry the install without repair mode enabled.

@Kvento
Copy link
Author

Kvento commented Mar 18, 2025

Please follow the instructions in the log message and retry the install without repair mode enabled.

I tried to enable and disable repair mode, but it does not help.
Speaking of instructions, I think it is difficult to do something wrong there. You just need to select the installation directory, the program version and the video card version, and that is all that I can influence using this installer.

@Kvento
Copy link
Author

Kvento commented Mar 18, 2025

Is there any other way to install Invoke AI now without using this installer?

@psychedelicious
Copy link
Collaborator

Maybe a python package got corrupted or didn't download successfully. Please follow these steps to clear the package cache then try again.

If you don't want to use the installer, you can follow manual install instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants