#Cannot update InvokeAI on MacOS

1 messages · Page 1 of 1 (latest)

brisk fjord
#

My existing macOS version of InvokeAI will not update. Saying environment file not found, but the environment files are still in the folder

fallen plinth
#

In the installation guide of the latest version, you’ll note instructions to copy the appropriate environment file into your invoke folder and rename it

brisk fjord
fallen plinth
#

ah, didn't see that - not clear why the link isn't working, but my recommendation would be to delete it, and replace it with a renamed copy of the environment-mac.yml file, renamed to environment.yml

fallen plinth
#

🤨

#

somethings funky w/ your system there.

#

time to google

brisk fjord
#

I think there's something wrong with the installer in general with the sheer amount of bug reports on macOS

fallen plinth
#

You realize that the installer is just a script running commands on your local terminal, right?

fallen plinth
#

So do you think the command is incorrect - Is the path listed there the wrong path?

brisk fjord
#

Or maybe it's a bad environment.yml

fallen plinth
#

It would seemingly return a different error than 'file not found', if it were a 'bad' file.

brisk fjord
#

Which it did

#

EnvironmentFileNotFound: '/Users/spaceboi/InvokeAI/environment.yml' file not found

fallen plinth
#

That is a 'file not found' error.

#

You said you deleted the link, replaced it with a renamed file, and still got the error - can you screenshot the folder?

brisk fjord
#

It's the same screenshot you see above

fallen plinth
#

That is a linked file.

#

See the 'shortcut' icon?

brisk fjord
#

Wait

#

Hang on and let me finish

#

I did delete the shortcut and copied the mac file

#

And it gave the same error

#

In fact

#

It turned the file into a shortcut

fallen plinth
#

Maybe my understanding of macs is wanting, but I definitely find that behavior odd.

brisk fjord
#

That's not supposed to happen

fallen plinth
#

Perhaps another attempt?

#

I see the environment-mac file there as well

brisk fjord
#

Here I'll make a screen recording of it in action

fallen plinth
#

Did that get moved when you did the shortcut?

brisk fjord
#

Nope

fallen plinth
#

Is there still a copy of that in the environments-and-requirements folder?

brisk fjord
#

environments-and-requirements folder?

#

I never got a folder like that

fallen plinth
#

👀

brisk fjord
#

I got my environment from another way

#

Back when I first installed Invoke

#

Is there a link to the new environment?

fallen plinth
#

It sounds like you might have mixed up a few installation processes & files

#

which installer did you download?

brisk fjord
fallen plinth
#

right, but which release file did you download?

brisk fjord
#

InvokeAI-mac.zip

#

WAIT

#

NOW IT'S WORKING

#

IT'S LITERALLY THE SAME FILE BUT REDOWNLOADED

#

WTF

brisk fjord
#

The install failed

#

1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> greenlet

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

#

And now Invoke won't even turn on

fallen plinth
#

Right - because your env is now missing greenlet

brisk fjord
#

So how do I fix that?

fallen plinth
brisk fjord
#

I don't know how to patch sysconfig

#

I ain't a developer lmao

fallen plinth
#

If you can wait, @sand stone might be able to let you know when that release is ready to go.

brisk fjord
#

Well looks like I'm gonna be stuck with naifu for a while

fallen plinth
#

I would presume within the next 24 hours at the latest.

brisk fjord
#

Oh I can wait that long since Warzone 2 is out tomorrow