InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Every install method I try (outside of conda) results in the same error from the install script

Open ocalhoun6 opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Linux

GPU

cuda

VRAM

8GB

What happened?

Ubuntu 20.04 Python 3.10 installed

I've tried the manual install, the automatic install, docker install, etc ... and every time, I end up getting the same error:

./install.sh --> Error: Command '['/home/o4/Desktop/Files/Shell/AI/SD2/invokeai/.venv/bin/python3.10', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

python3.10 -mvenv invokeai --> Error: Command '['/home/o/Files/Shell/AI/SD2/InvokeAI-main/installer/InvokeAI-Installer/invokeai/bin/python3.10', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

/$ sudo python3.10 -mvenv invokeai --> Error: Command '['/invokeai/bin/python3.10', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

Exactly the same error ends up coming up, no matter what install method I try. (The automated installer is probably just hitting the same error when it tries to do the same thing automatically.)


I have it running on CPU only through conda, and that works fine ... if slowly. And for now ... I'll probably stick with that, unless the solution to the above error ends up being very simple and easy. Planning on doing a whole OS fresh install once Ubuntu releases an LTS with the 6.0+ kernel, complete with new GPU hardware. Will try again then.

Screenshots

No response

Additional context

No response

Contact Details

[email protected]

ocalhoun6 avatar Dec 21 '22 03:12 ocalhoun6

Same here, on Windows 10.

Error: Command '['d:\\InvokeAI\\invokeai\\.venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

Install script is broken.

EDIT: I tried removing the offending checkpoints and it still fails with everything else. Now it can't find pip.

Do you have a minimal install script that assumes that a functional venv already exists? This install script is consuming more time than necessary. It honestly feels more like a honeypot, sorry.

vmajor avatar Dec 27 '22 22:12 vmajor

Update. I got the installer to run by restarting the workstation and agreeing to a default directory as a target for installation.

vmajor avatar Dec 28 '22 01:12 vmajor

and agreeing to a default directory as a target for installation.

Hm... come to think of it, I was specifying a custom install location every time. I should try again sometime and let it choose the default ... even though its default location is not convenient for me, given the way I have my filesystems set up. (Default location would save it on a disk that has limited remaining space.)

ocalhoun6 avatar Dec 28 '22 03:12 ocalhoun6

I guess you where succesfull 🙈

mauwii avatar Feb 08 '23 00:02 mauwii