This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't use python in 4.0.1

Tags: None
(comma "," separated)
Daphazard
Registered Member
Posts
30
Karma
0
OS

Can't use python in 4.0.1

Sun May 06, 2018 8:21 pm
I only discovered Krita very recently so this (4.0.1) is the first version I've tried. I'm using KDE Neon.

I'm trying to create a python plugin to use in Krita, and following the instructions from the documentation. However they refer to a "Python Plugin Manager" tab in Krita's settings, which doesn't exist for me. I found out that in order to use python with krita I actually need the python3-dev package and not just python3, so I've just installed that. However no plugin manager appears yet.

Running krita from a terminal, I noticed the following output which seems to be relevant:
Code: Select all
Loading Python plugin
"/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0" true
Creating s_pythonLibrary /usr/lib/x86_64-linux-gnu/libpython3.5m.so
Python::setPath. Script paths: ("/home/daphne/.local/share/krita/", "/usr/share/krita/", "/home/daphne/.local/share/krita/pykrita/", "/usr/share/krita/pykrita/", "/usr/share/pykrita/") false
pythonLibsPath (krita-python-libs) ""
Cannot find krita-python-libs
"Cannot set Python paths"


I was unable to find any report about this error. Is this a bug, or am I missing another package or setting?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Can't use python in 4.0.1

Mon May 07, 2018 7:00 am
If this is with Neon provided packages, it must be a packaging error. Please report a bug to the Neon people.
Daphazard
Registered Member
Posts
30
Karma
0
OS

Re: Can't use python in 4.0.1

Mon May 07, 2018 8:45 am
Thanks, I've just done so ( https://bugs.kde.org/show_bug.cgi?id=393938 ).
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Can't use python in 4.0.1

Mon May 07, 2018 8:51 am
Thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]