添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱看书的鼠标垫  ·  SpringBoot生成二维码·  4 月前    · 
率性的山楂  ·  今日影评 ...·  1 年前    · 
有胆有识的香槟  ·  C++ Standard Library ...·  1 年前    · 
近视的包子  ·  D3JS - Map Hexgrid·  1 年前    · 
Hello Unregistered. Please be aware that the forums are transitioning to Ubuntu Discourse. The provisional date for forum support to go live on Ubuntu Discourse is December 12th 2024. Thereafter, this site will become read only on 9th January 2025. For more details please see this post . Any changes to these dates will be publicised on this notice and on the Future of the Forum Cafe thread where any questions about the transition may be asked.
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 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 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... 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 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? vBulletin ©2000 - 2024, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License . For details and our forum data attribution, retention and privacy policy, see here