You are not logged in.
Hi all,
not sure if this is caused by a recent package update but somehow the Python Plugins in Krita won't load for me anymore and i get the following error:
krita.scripting: "Traceback (most recent call last):"
krita.scripting: " File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 11, in <module>"
krita.scripting: " from .api import *"
krita.scripting: " File \"/usr/lib/krita-python-libs/krita/api.py\", line 15, in <module>"
krita.scripting: " from PyKrita.krita import *"
krita.scripting: "RuntimeError: the sip module implements API v12.0 to v12.17 but the PyKrita.krita module requires API v12.18"
krita.scripting: "Could not import krita"Package versions:
krita 5.2.14-2
python-pyqt5 5.15.11-5
python-pyqt5-sip 12.17.2-2Not sure if it's the correct place to check but https://pypi.org/project/PyQt5-sip/ also shows 12.17.2 as being the latest, so the error sounds odd to me.
I'm fairly confident that i haven't messed with my global pip modules.
Any help would be greatly appreciated!
Offline
https://python-sip.readthedocs.io/en/st … tml#v12-18
https://python-sip.readthedocs.io/en/st … ml#v6-15-0
I'm fairly confident that i haven't messed with my global pip modules.
Online
https://python-sip.readthedocs.io/en/st … tml#v12-18
https://python-sip.readthedocs.io/en/st … ml#v6-15-0I'm fairly confident that i haven't messed with my global pip modules.
thx, guess my problem is not a random sip module manually installed:
❯ python
>>> import PyQt5
>>> PyQt5.__file__
'/usr/lib/python3.14/site-packages/PyQt5/__init__.py'
❯ pacman -Qo /usr/lib/python3.14/site-packages/PyQt5/__init__.py
/usr/lib/python3.14/site-packages/PyQt5/__init__.py is owned by python-pyqt5 5.15.11-5❯ python
>>> import PyQt5.sip
>>> PyQt5.sip.__file__
'/usr/lib/python3.14/site-packages/PyQt5/sip.cpython-314-x86_64-linux-gnu.so'
❯ pacman -Qo /usr/lib/python3.14/site-packages/PyQt5/sip.cpython-314-x86_64-linux-gnu.so
/usr/lib/python3.14/site-packages/PyQt5/sip.cpython-314-x86_64-linux-gnu.so is owned by python-pyqt5-sip 12.17.2-2also nothing in ~/.local/lib
my problem seems to be different from the reddit post though.
they had something asking for 12.9 when 12.9 was actually installed but my krita wants 12.18 and pyqt5-sip is still 12.17 in the arch repos.
do i just need to wait until python-pyqt5-sip is updated?
Offline
The 4 year old reddit link was just to show how to check what gets loaded.
It would seem w/ https://archlinux.org/packages/extra/any/sip/ moving to 6.15 because of python 3.14 the abi bumped to v12.18.0 and v13.11.0 but there're no matching pyqt releases?
(python-pyqt6-sip is also at 3.10.3)
Do you have a gitlab account?
https://gitlab.archlinux.org/archlinux/ … p/-/issues
https://gitlab.archlinux.org/archlinux/ … p/-/issues
Online
Ah yeah that makes sense.
The sip Changelogs also have this:
v12.18
Added support for Python v3.14.
Removed support for Python v3.9.unfortunately i don't have a gitlab account ![]()
but from what i understand theres not much arch can do until a 12.18 release of pyqt5-sip gets pushed to PyPi?
Offline
Well let's see - https://gitlab.archlinux.org/archlinux/ … -/issues/7
Ideally somebody has an established background w/ Phil and can clarify the situation.
Online