InvokeAI
InvokeAI copied to clipboard
[bug]: Fails to run on macOS after running source installer
Is there an existing issue for this?
- [X] I have searched the existing issues
OS
macOS
GPU
cpu
VRAM
No response
What happened?
After downloading the latest macOS source package, I ran ./install.sh
and chose "all" for the models to install. It completed and told me:
** 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!
You can now start generating images by running invoke.sh (inside this folder), using ./invoke.sh
If, however, I run ./invoke.sh
I get the following:
❯ ./invoke.sh
WARNING: overwriting environment variables set in the machine
overwriting variable {'PYTORCH_ENABLE_MPS_FALLBACK'}
/Users/.../Downloads/invokeAI/invoke.sh: line 14: syntax error near unexpected token `then'
/Users/.../Downloads/invokeAI/invoke.sh: line 14: `if [ "$(uname -s)" == "Darwin" ]; then'
If I follow the other directions and run using python, I get a different error:
❯ python scripts/invoke.py --web
Traceback (most recent call last):
File "/Users/inktomi/Downloads/invokeAI/scripts/invoke.py", line 3, in <module>
import ldm.invoke.CLI
ModuleNotFoundError: No module named 'ldm'
Screenshots
No response
Additional context
No response
Contact Details
No response