Troubleshooting: 1. make sure Python 3.10 is installed 2. Make sure your terminal has access to the right version of your python installation via the PATH variable. I just released a blog post tutorial on how to do this: blog.starmorph.com/blog/add-python-to-path 3. Consult The Official InvokeAI Troubleshooting Guide invoke-ai.github.io/InvokeAI/help/TROUBLESHOOT/#troubleshooting 4. Contact us on our website on starmorph.com/ for 1 on 1 help.
@@DanielSchweinert I hear ya me too. I would love to get a dedicated PC for AI work, these things are sweet shop.lambdalabs.com/gpu-workstations/vector/customize
What about deforum or image batching? thats what you need to highlight. Because photos are garbage compared to making videos these days;) Hope that helps and would love to hear your feedback!
Maybe try better prompt , lexica has very nice prompt you can use. I don’t know what kind of AI image generator, but it’s better than any other one I have seen so far, very clean and detailed, they would give you 200 pic for free then you have to buy months after that, but the prompt is always free copy and paste. Good luck tho
Hi! need help: after choosing the preferred location Terminal says "python:command not found". maybe it's a stupid question but I have zero ideas about what I'm doing...
Not a dumb question terminal and development environment can be difficult even for developers. Make sure the format of your answer is exactly what the terminal is requesting. If you show me the terminal with your input and the current question I could help more directly. But it sounds like you gave a command that is not a python command. Or you don’t have a needed library installed on your computer.
here is the invoke ai documentation troubleshooting for the command not found error invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-through
If I already have sdxl installed will this make me have two of them? And can I still use only stable diffusion on its own if I wanted to? I did install invoke when I allreday had sdxl and it took alot of space so I deleted stable diffusion but then I only had invoke and couldnt get to stable diffusion allthough it is in invoke somehow? This probably sounds dumb to most people but Im really new to this, but do you understand my questioning anyway? Big thanks for the video.
I believe you are talking about the actual model files themselves and that you may be able to drag both the sdxl and other stable diffusion model into the invoke folder to use them in invoke. hope that helps.
@@starmorph Thanks for your answer. My 8gb m1 was so slow so I switched to Draw Things wich is. alot faster but not alot of info on it. No videos or tutorials, not much. take care
I'm stuck at this step: do i need to create a folder myself and type the name ? becvause when i hit enter after that 1st step, this is what i get : Select your preferred location for the 'invokeai' directory [/Users/macpro]: Traceback (most recent call last): File "", line 1, in ImportError: No module named pathlib
I believe this error is caused because your terminal is running python2 instead of a python 3 installation. Make sure you have Python 3.10 installed and update your PATH variable to point to your Python 3 installation.
@@yeezythabest Here are 2 guides on how to add python to path starmorph.com/blogs/blog/add-python-to-path-variable-mac-os-z-shell-terminal realpython.com/add-python-to-path/
InvokeAI doesn't currently support Video generation, but we made a video on how to make videos with stable diffusion deforum here: ruclips.net/video/zqpzpBNITQM/видео.html
this tutorial is very easy to follow but as a newbie in this world i learned that i need to install a lot more programs before instaling InvokeAI, like python, homebrew, iTerm2, Zsh, Oh my Zsh, after i installed python and in terminal it continues to appear after the instalation this "zsh command not found python" i´m running a mac studio with M1 Max, can somebody can tell me what programs do i need to install first before trying to install invokeAI?
Thank you for your comment I agree and I will strongly consider making another video that shows the setup for everything before invokeAI. In your case, your path variable needs to show your terminal where your python installation is. here are two guides on setting up the path for python: starmorph.com/blogs/blog/add-python-to-path-variable-mac-os-z-shell-terminal realpython.com/add-python-to-path/
thanks for this, i got this error after the first part of the installation, any insight as to why? AttributeError: module 'diffusers.models.attention' has no attribute 'CrossAttention'
it Is saying "xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools." what should I do?
Hi there,I ran into this problem: after installing while configuring InvokeAi was loading...: RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback): module 'dns.rdtypes' has no attribute 'ANY' ...can you help me any further? Thnak you in advance
here are two threads with people having the same issues and few solutions github.com/invoke-ai/InvokeAI/issues/2334 github.com/invoke-ai/InvokeAI/issues/2323
is this a fully featured installation? can you do all the things you can with normal Stable diffusion? I've been using "DiffusionBee" and "Draw Things" they are a one-click-install, but watered-down version.
It has a lot of features like: seed settings, different samplers, inpainting, image batching, dynamic output resolutions, variations, etc. they also continually add more features it has come a long way since the version 2 months ago.
Diffusion bee is a native mac app - easier to install, but less functionality than invoke AI currently has. invokeAI has more models and settings you can play with.
I keep getting the error:" 'NoneType' object has no attribute 'process' " when trying to generate through text to image and image to image. is there a fix for this? Thanks!
I see that some people are having this issue as well github.com/invoke-ai/InvokeAI/issues?q=NoneType+ I was not able to find a current solution to it. The error means that that object is returning none, so it sounds like part of the installation is missing, or a package is an incorrect version. I would try checking your installation settings like python version, (ideally 3.10).
It won't create my Invoke dir. Traceback (most recent call last): File "", line 1, in ImportError: No module named pathlib myimac@macs-iMac ~ % dir. ???
I believe this is because you may be running the scripts with a python 2 installation. try confirming in both finder and PATH in terminal that you are using python 3.10
Not that I am aware of - I have a newer tutorial on installing Automatic1111 stable diffusion that has a large amount of extensions ruclips.net/video/DUqsYm_rYcA/видео.html&lc=Ugw49qE9tKrL85pUKA54AaABAg
i have a problem, after this ( Select your preferred location for the 'invokeai' directory [/Users/ostap]: ) what i need to do ? i press enter and terminal gives me this : ( Traceback (most recent call last): File "", line 1, in ImportError: No module named pathlib ) i like to check the python path and like its Okey, but installation not running ( pls help
OK after hours of trial and error... SOLUTION: I had Python 3.10.6 and even if i manually added the path in terminal, or tried all other methods online, it seems the installer is looking ONLY for 3.10.9 ... so once I got the latest version, it worked even though if i type "python" into terminal nothing happened only if I typed "python3" will something show up.
here is the invoke ai documentation troubleshooting for the command not found error invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-through
Blog Post on how to troubleshoot... BEFORE STEP 1: "A macOS computer with Terminal and "zsh shell" installed" AAARGHHH What is ZSH SHELL, how to install it? ... need a troubleshooting guide about the troubleshooting guide. Non-tech people need explanations because "ZSH SHELL" is just a soup of letters to anyone who is using terminal for the first time... DO i already have it, where do i go to install it, what is it, how to install it bla bla bla
Thanks for this insight, I definitely learned from this tutorial to do more comprehensive environment setup steps in future videos. Might make a video on how to setup development environments like python and Z-shell. If anyone wants that video like this comment! Z-shell is an alternative to the default Bash Terminal, I can make a guide on how to add python to path with Bash as well (its very similar). Sounds like you got it done though!
Running into errors? Follow this new video to setup your computer before installing stable diffusion ruclips.net/video/UEHHX3UiA6g/видео.html
Troubleshooting:
1. make sure Python 3.10 is installed
2. Make sure your terminal has access to the right version of your python installation via the PATH variable. I just released a blog post tutorial on how to do this: blog.starmorph.com/blog/add-python-to-path
3. Consult The Official InvokeAI Troubleshooting Guide invoke-ai.github.io/InvokeAI/help/TROUBLESHOOT/#troubleshooting
4. Contact us on our website on starmorph.com/ for 1 on 1 help.
Thanks for this! Will this work both on Intel and M1 Macs?
Thanks! Finally something for Mac. What system do you have if I may ask? Is it fast enough on a M1Max Macbook?
I am on a 2020 M1 13" macbook running 12.6 Monterey and it takes probably 2 min per image
@@starmorph ahh okay thank you! Friends have these frickin NVIDIA 4090 on their PCs and they put out images every 3-5 seconds.
@@DanielSchweinert I hear ya me too. I would love to get a dedicated PC for AI work, these things are sweet shop.lambdalabs.com/gpu-workstations/vector/customize
@@starmorph yikes 2 minutes? my pc makes one every 7 seconds
@@DanielSchweinert whoops didnt see this! yeah i batch image constantly. 142,000 images in 2 months
What about deforum or image batching? thats what you need to highlight. Because photos are garbage compared to making videos these days;) Hope that helps and would love to hear your feedback!
Yes it does image batching, you can make as many images as you'd like at once.
Personally I use a cloud service called replicate for Deforum.
Maybe try better prompt , lexica has very nice prompt you can use. I don’t know what kind of AI image generator, but it’s better than any other one I have seen so far, very clean and detailed, they would give you 200 pic for free then you have to buy months after that, but the prompt is always free copy and paste. Good luck tho
Hi! need help: after choosing the preferred location Terminal says "python:command not found". maybe it's a stupid question but I have zero ideas about what I'm doing...
Not a dumb question terminal and development environment can be difficult even for developers.
Make sure the format of your answer is exactly what the terminal is requesting. If you show me the terminal with your input and the current question I could help more directly.
But it sounds like you gave a command that is not a python command. Or you don’t have a needed library installed on your computer.
Feel free to message us on instagram or our website live chat for more help
here is the invoke ai documentation troubleshooting for the command not found error invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-through
If I already have sdxl installed will this make me have two of them? And can I still use only stable diffusion on its own if I wanted to? I did install invoke when I allreday had sdxl and it took alot of space so I deleted stable diffusion but then I only had invoke and couldnt get to stable diffusion allthough it is in invoke somehow? This probably sounds dumb to most people but Im really new to this, but do you understand my questioning anyway?
Big thanks for the video.
I believe you are talking about the actual model files themselves and that you may be able to drag both the sdxl and other stable diffusion model into the invoke folder to use them in invoke. hope that helps.
@@starmorph Thanks for your answer. My 8gb m1 was so slow so I switched to Draw Things wich is. alot faster but not alot of info on it. No videos or tutorials, not much. take care
I'm stuck at this step: do i need to create a folder myself and type the name ?
becvause when i hit enter after that 1st step, this is what i get :
Select your preferred location for the 'invokeai' directory [/Users/macpro]:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named pathlib
I believe this error is caused because your terminal is running python2 instead of a python 3 installation. Make sure you have Python 3.10 installed and update your PATH variable to point to your Python 3 installation.
@@starmorph Thank you ! how do i update that path ?
@@yeezythabest
Here are 2 guides on how to add python to path
starmorph.com/blogs/blog/add-python-to-path-variable-mac-os-z-shell-terminal
realpython.com/add-python-to-path/
@@starmorph thank you so much for taking the time to help me out
@@yeezythabest you’re welcome!
what would be the minimal version of mac you would need to run stable diffusion? is it possible to run it on a older version than the m1 macs?
Just wondering as I'm currently using a 2017 macbook pro with big surr
according to the invoke AI docs, you need an M1 mac
invoke-ai.github.io/InvokeAI/#system
Is there a way to install InvokeAI locally on Mac M1?
Yes, I have an M1 Mac and this video will show you how
will this method work to make the evolving animation videos of Stable Diffusion? thanks!
InvokeAI doesn't currently support Video generation, but we made a video on how to make videos with stable diffusion deforum here: ruclips.net/video/zqpzpBNITQM/видео.html
this tutorial is very easy to follow but as a newbie in this world i learned that i need to install a lot more programs before instaling InvokeAI, like python, homebrew, iTerm2, Zsh, Oh my Zsh, after i installed python and in terminal it continues to appear after the instalation this "zsh command not found python" i´m running a mac studio with M1 Max, can somebody can tell me what programs do i need to install first before trying to install invokeAI?
Thank you for your comment I agree and I will strongly consider making another video that shows the setup for everything before invokeAI. In your case, your path variable needs to show your terminal where your python installation is. here are two guides on setting up the path for python:
starmorph.com/blogs/blog/add-python-to-path-variable-mac-os-z-shell-terminal
realpython.com/add-python-to-path/
@@starmorph thank you! i´ll check
@@starmorph it would be great! im struggling to install it for two nights straight^^^ and still got no success( ( still gettin errors
@@deema7345 i tried again, installing again python but got the same results "zsh: command not found: python" :(
@@graiwolf I made the new video and it solves that error ruclips.net/video/UEHHX3UiA6g/видео.html
u can add ur computer setup in description
done 👍
thanks for this, i got this error after the first part of the installation, any insight as to why?
AttributeError: module 'diffusers.models.attention' has no attribute
'CrossAttention'
Such a great Tutorial. It is such a shame it doesn't work.
Could you elaborate on what didn’t work? Will see if I can fix / update
it Is saying "xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools." what should I do?
Xcode developer tools can be installed from the apple store here: apps.apple.com/us/app/xcode/id497799835?mt=12
Hi there,I ran into this problem: after installing while configuring InvokeAi was loading...: RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
module 'dns.rdtypes' has no attribute 'ANY' ...can you help me any further? Thnak you in advance
here are two threads with people having the same issues and few solutions
github.com/invoke-ai/InvokeAI/issues/2334
github.com/invoke-ai/InvokeAI/issues/2323
is this a fully featured installation? can you do all the things you can with normal Stable diffusion?
I've been using "DiffusionBee" and "Draw Things" they are a one-click-install, but watered-down version.
It has a lot of features like: seed settings, different samplers, inpainting, image batching, dynamic output resolutions, variations, etc. they also continually add more features it has come a long way since the version 2 months ago.
I'm still trying to find a way to run A1111 on a Mac Studio any leads?
Looks like Automatic1111 has a mac installation guide here github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
@@starmorph Thanks, yes I've tried to follow instructions but can't get it to run
@@marcdevinci893 what error message are you getting? It’s probably a development environment config that needs to be setup
what is different between diffusion bee and invokeAI on mac ?
Diffusion bee is a native mac app - easier to install, but less functionality than invoke AI currently has. invokeAI has more models and settings you can play with.
I keep getting the error:" 'NoneType' object has no attribute 'process' " when trying to generate through text to image and image to image. is there a fix for this? Thanks!
I see that some people are having this issue as well github.com/invoke-ai/InvokeAI/issues?q=NoneType+
I was not able to find a current solution to it. The error means that that object is returning none, so it sounds like part of the installation is missing, or a package is an incorrect version. I would try checking your installation settings like python version, (ideally 3.10).
Same issue here
It won't create my Invoke dir. Traceback (most recent call last):
File "", line 1, in
ImportError: No module named pathlib
myimac@macs-iMac ~ %
dir. ???
I believe this is because you may be running the scripts with a python 2 installation. try confirming in both finder and PATH in terminal that you are using python 3.10
Hi, does this version support video to video?
Not that I am aware of - I have a newer tutorial on installing Automatic1111 stable diffusion that has a large amount of extensions ruclips.net/video/DUqsYm_rYcA/видео.html&lc=Ugw49qE9tKrL85pUKA54AaABAg
@@starmorph thanks!
i have a problem, after this ( Select your preferred location for the 'invokeai' directory [/Users/ostap]: ) what i need to do ? i press enter and terminal gives me this : ( Traceback (most recent call last):
File "", line 1, in
ImportError: No module named pathlib )
i like to check the python path and like its Okey, but installation not running (
pls help
I think probably you are running the command with python 2, but you need to make sure your path and terminal is using a python 3.10 installation.
check your python installation in both the finder and the terminal to make sure you are putting python 3.10 in the path.
получилось установить?
@@deema7345 да, но мне помог друг питонист, я сам не понял что он там сделал)
@@stapovsky7935 повезло.я уже который день пытаюсь установить. выдает эту ошибку постоянно( может дашь контакт друга-питониста?
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
OK after hours of trial and error... SOLUTION:
I had Python 3.10.6 and even if i manually added the path in terminal, or tried all other methods online, it seems the installer is looking ONLY for 3.10.9 ... so once I got the latest version, it worked even though if i type "python" into terminal nothing happened only if I typed "python3" will something show up.
@@honestview thank you for posting the solution here too! Much appreciated
ERROR: Could not find a version that satisfies the requirement torch
Could you run the following 2 commands in your terminal “python -version” and “python3 -version” and reply here with what versions you have installed?
@@starmorph Python 2.7.16 & Python 3.11.2
@@tomaslucero201 you need 3.9.x or 3.10.x we have a python version installation tutorial here: ruclips.net/video/UEHHX3UiA6g/видео.html
I keep getting the error" line 124: python: command not found" whenever I try to run the install script.
I was gettin this problem too. you have to go to line 124 and put in "python3" instead of just leaving it as "python"
@@exploring_the_void1588 Tried that, and I got "zsh: no such file or directory:"
@@acramonen sounds like you have install python3
here is the invoke ai documentation troubleshooting for the command not found error invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-through
@@starmorph I tried to enter the commands listed on the site but keep getting this error: "zsh: no such file or directory: application/Python/."
Blog Post on how to troubleshoot... BEFORE STEP 1:
"A macOS computer with Terminal and "zsh shell" installed"
AAARGHHH What is ZSH SHELL, how to install it?
... need a troubleshooting guide about the troubleshooting guide.
Non-tech people need explanations because "ZSH SHELL" is just a soup of letters to anyone who is using terminal for the first time...
DO i already have it, where do i go to install it, what is it, how to install it bla bla bla
Thanks for this insight, I definitely learned from this tutorial to do more comprehensive environment setup steps in future videos. Might make a video on how to setup development environments like python and Z-shell. If anyone wants that video like this comment!
Z-shell is an alternative to the default Bash Terminal, I can make a guide on how to add python to path with Bash as well (its very similar). Sounds like you got it done though!