Python version error (Mac) #740
Replies: 11 comments 9 replies
-
It searches for the following in order: python3.11, python3.10, python3 Anyway, last I checked there are some 3rd party packages that don't support 3.12, so it probably won't work. |
Beta Was this translation helpful? Give feedback.
-
I'm getting the same error as the OP: I also verified that venv is installed by running python3 -m venv test_env which worked as expected. What can I try next? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! Also, I should have mentioned that I'm on a Mac, my specs are below.
System: |
Beta Was this translation helpful? Give feedback.
-
Yea, after a Python version is found, the installer creates a venv, which effectively locks it for installation attempts on the same folder afterwards. That's why deleting it is important if you want it to use a different version. The installer really just looks for an executable |
Beta Was this translation helpful? Give feedback.
-
Ok, I uninstalled Python 3.12.x and installed 3.11.8 running "python3.11 --version" returns "Python 3.11.8". So far so good. I deleted the plug-in folder from the Krita App Support folder and reinstalled the plug-in (v 1.17.2). When I try to install the local server I get the same "needs Python v3.8 or later " message. What am I doing wrong? (MacOS 13.6.7, Intel) |
Beta Was this translation helpful? Give feedback.
-
Is Krita downloaded directly from krita.org, or installed via App Store? Maybe it makes a difference regarding environment. |
Beta Was this translation helpful? Give feedback.
-
I fixed it! I had to update XCode: https://xcodereleases.com/ Now the server is connected and running! |
Beta Was this translation helpful? Give feedback.
-
Has anyone figured out a solution to this issue yet? |
Beta Was this translation helpful? Give feedback.
-
Still trying to get this to work. I just updated Krita to the new beta (5.2.3) and updated krita-ai-diffusion to 1.18.1 Same error. In terminal, if I enter 'python3 --version' I get 'Python 3.11.8' which is obviously >3,8 I have tried so many suggestions online and none of them have worked. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
I had the same problem on MacOs Sonoma 14.5, with Krita version 5.2.3 and krita-ai-diffusion 1.21.0. That is, krita-ai-diffusion python venv was installed with a too old version of python, more specifically not the one linked to the command python (neither python3) in PATH variable. The brute force solution I've found is to reinstall python venv with latest python version :
While it is quite an inelegant solution, it seems to have worked for me, **except I now have the 'invalid buffer size' error as @chrisdukes **, but I guess it is related to not using a GPU, and only MPS acceleration. |
Beta Was this translation helpful? Give feedback.
-
After installing Krita and the AI Diffusion plugin, I tried to install a local server. However, it keeps creating the error message that it needs Python v3.8 or later and that I am running 3.7.x. However, as I can confirm in Terminal, I have Python 3.12 installed. Any idea what is going wrong?
Beta Was this translation helpful? Give feedback.
All reactions