I recently did a fresh install of Arch Linux and it installed python 3.11 which apparently breaks DisplayCAL. When I run it I get
Traceback (most recent call last):
File "/usr/bin/displaycal", line 4, in <module>
from DisplayCAL.main import main
File "/usr/lib/python3.11/site-packages/DisplayCAL/main.py", line 27, in <module>
raise RuntimeError(
RuntimeError: Need Python version >= 3.8 <= 3.10, got 3.11.3
So I obviousy thought I would downgrade python and I tried both 3.9 and 3.10, but neither worked.
Now I get this error
Traceback (most recent call last):
File "/usr/bin/displaycal", line 4, in <module>
from DisplayCAL.main import main
ModuleNotFoundError: No module named 'DisplayCAL'
Yep, python 3 won’t do as far as I’m aware and there doesn’t seem to be much development done to get it ported/rewritten for python3. There’s an old and long thread about this here on pixls.
I know there’s a flatpak version, which would circumvent the python version thing:
~ $ flatpak search displaycal
Name Description Application ID Version Branch Remotes
Display? Display calibration and profiling with a focus on accuracy and? ?.displaycal.DisplayCAL 3.8.9.3 stable flathub
Haven’t tried that one myself (I’m still on python 2.X), but it might do the trick for you.
Sorry, did not realize that… Still thought that the DisplayCal and Python 3 combo was a bit of a mess, I stand corrected.
Had a look at the GitHub you mentioned and there are some open (and closed) issues/pull request that are related to python 3.11. Not sure, though, if any of those touch your specific issue.