#2 Python Versions, Only 1 Being Recognised
3 messages · Page 1 of 1 (latest)
Invoke AI currently supports Python versions 3.10 and 3.11. If you have multiple versions of Python installed, it's possible that the Invoke AI installer is not recognizing the correct version.
Here are some steps you can take to resolve this issue:
-
Make sure that Python 3.10 is added to your PATH. You can verify this by opening a command prompt and typing
python --version. It should print out the version number. If it is version3.10.*or3.11.*you meet requirements. -
If the installer still doesn't recognize the correct Python version, you might need to specify the Python version explicitly when running the installer.
-
If you're using a virtual environment (venv), make sure you're activating the correct environment that has the supported Python version installed. You can check the Python version in your venv by activating it and running
python --version. -
If none of the above works, you might want to consider uninstalling Python 3.9 temporarily, install Invoke AI, and then reinstall Python 3.9.
Remember, it's important to keep your Python versions and environments well managed when working with multiple projects that require different versions. Tools like pyenv can help manage multiple Python versions on a single machine.
Sources:
- Github Issue 5145 (https://github.com/invoke-ai/InvokeAI/issues/5145)
- Github Issue 5569 (https://github.com/invoke-ai/InvokeAI/issues/5569)
- InvokeAI Automated Installation Walkthrough (https://invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED#walk-through)
- Discord Support Thread (https://discord.com/channels/1020123559063990373/1165092596109017118)
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@wheat junco kapa.ai is still learning and improving, please let us know how it did by reacting below