#I can't install InvokeAI
5 messages · Page 1 of 1 (latest)
I'm sorry to hear that you're having trouble installing InvokeAI. The error message you're seeing usually indicates that pip is unable to find the required package or version. Here are a few steps you can take to troubleshoot this issue:
-
Check your Python version: InvokeAI requires Python version 3.10 or 3.11. You can check your Python version by opening a command-line window and typing
python --version. If you have an unsupported version, you can download the appropriate installer package for your platform from the Python Downloads (https://www.python.org/downloads/) page. We recommend Version 3.10.12 (https://www.python.org/downloads/release/python-3109/), which has been extensively tested with InvokeAI [source (https://invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED#walk-through)]. -
Ensure you have the necessary GPU drivers installed: If you have an NVIDIA card installed, you will need to install the CUDA driver. You can confirm this by looking at the InvokeAI startup messages. If you see a message saying ">> Using device CPU", then you might have installed the CPU-only version of the torch machine-learning library, rather than a version that takes advantage of GPU acceleration. To fix this, you can run the following commands:
pip install torch torchvision --force-reinstall --extra-index-url <https://download.pytorch.org/whl/cu121> pip install xformers
-
Ensure you have sufficient disk space: Installation requires roughly 18G of free disk space to load the libraries and recommended model weights files. Your system drive requires at least 6GB of free disk space to download and cache python dependencies [source (https://invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED#walk-through)].
-
Try the automated installer: If you're still having trouble, you might want to try using the automated installer, which is a script that will install all of InvokeAI's essential third-party libraries and InvokeAI itself. You can download the latest installer .zip file here (https://github.com/invoke-ai/InvokeAI/releases/latest) [source (https://invoke-ai.github.io/InvokeAI/installation/INSTALLATION#overview)].
If you continue to experience issues, you can seek help on the InvokeAI Discord (https://invoke-ai.github.io/InvokeAI/installation/discord.gg/invoke-ai) or create an issue on Github (https://github.com/invoke-ai/InvokeAI).
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@next lodge kapa.ai is still learning and improving, please let us know how it did by reacting below
I am using the automated installer
my python version is correct
i have enough disk space
i have the necessary gpus installed