Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

  1. #1
    Join Date
    Mar 2015
    Beans
    26

    Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    Hi all,
    I'm trying to use krita with its stable diffusion module, but I'm having unexpected troubles. It worked at first (standard ubuntu repository), but the module then disappeared for no apparent reasons. At that point, I tried to reinstall a more recent version of Krita (5.2.2) using an external PPA, but still no luck : the menu to load scripts just doesn't come up.
    I've finally realised that there are problematic error messages when starting Krita :

    Code:
    krita.scripting: "Traceback (most recent call last):"krita.scripting: "  File \"/usr/lib/x86_64-linux-gnu/krita-python-libs/krita/__init__.py\", line 11, in <module>"
    krita.scripting: "    from .api import *"
    krita.scripting: "  File \"/usr/lib/x86_64-linux-gnu/krita-python-libs/krita/api.py\", line 15, in <module>"
    krita.scripting: "    from PyKrita.krita import *"
    krita.scripting: "ModuleNotFoundError: No module named 'PyQt5.QtCore'"
    krita.scripting: "Could not import krita"
    I've looked around but couldn't find anything specific related to that problem. As far as I'm able to see, the proper libraries are installed. I'm stumped

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    You have not mentioned weather this is installed or not.."pyqt5"
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Mar 2015
    Beans
    26

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    Well, yes, it is (hence my writing 'all the libraries are installed)

  4. #4
    Join Date
    May 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)


  5. #5
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    Quote Originally Posted by trenien2 View Post
    Well, yes, it is (hence my writing 'all the libraries are installed)
    A simple "Yes" or "No" would have sufficed, I can't tell you how many times a user has swore up and down something was installed when it wasn't...

    Anywho, I find the appimage to work nicely on my end.

    https://mirrors.mit.edu/kde/Attic/kr...86_64.appimage
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  6. #6
    Join Date
    Mar 2015
    Beans
    26

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    Well, sorry for cheekiness, then.
    Apart from that, I tend to want to avoid flatpack (or any other similar ways to distribute software). The few times I tested any of them, they used a significant amount of ressources beyond that of a repository version.

    Well, if anyone has any idea on how to make it known to krita that, yes, that specific library is indeed installed...

  7. #7
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    No worries.
    Sadly both work here, both .deb krita and appimage.
    I checked for "py mods" and found these were needed:
    Code:
    └─> apt policy python3-pyqt5 python3-pyqt5.sip
    python3-pyqt5:
      Installed: 5.15.10+dfsg-1build6
      Candidate: 5.15.10+dfsg-1build6
      Version table:
     *** 5.15.10+dfsg-1build6 500
            500 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 Packages
            100 /var/lib/dpkg/status
    python3-pyqt5.sip:
      Installed: 12.13.0-1build3
      Candidate: 12.13.0-1build3
      Version table:
     *** 12.13.0-1build3 500
            500 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 Packages
            100 /var/lib/dpkg/status
    Krita version:
    Code:
    apt policy krita
    krita:
      Installed: 1:5.2.2+dfsg-3build2
      Candidate: 1:5.2.2+dfsg-3build2
      Version table:
     *** 1:5.2.2+dfsg-3build2 500
            500 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 Packages
            100 /var/lib/dpkg/status
    And sometime a simple --reinstall helps:
    Code:
    sudo apt install --reinstall python3-pyqt5 python3-pyqt5.sip
    Please Note this was on 24.10 oracular
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  8. #8
    Join Date
    Mar 2015
    Beans
    26

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    I didn't think of the reinstall. I'll give it a try, thanks.

  9. #9
    Join Date
    May 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    Quote Originally Posted by trenien2 View Post
    Well, sorry for cheekiness, then.
    Apart from that, I tend to want to avoid flatpack (or any other similar ways to distribute software). The few times I tested any of them, they used a significant amount of ressources beyond that of a repository version.
    So you want to avoid an efficient way to package applications with their dependencies, because you once had an ambiguously poor experience with another application.

    You have to ask yourself, is this position honestly even logically tenable?

  10. #10
    Join Date
    Mar 2015
    Beans
    26

    Re: Krita 5.2.2 and PyQT5 (ubuntu 22.04.4)

    Well, the reinstall did work.

    Apart from that, the "efficient" way you're talking is, at the very least, a waste of space. When used for a majority of applications on a majority of PC, that is NOT minor. And since I've read here and there my 'once poor experience' was far from unique, I'll keep dong things as I have so far.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •