You are not logged in.

#1 2008-09-09 12:29:32

mamr
Member
Registered: 2008-08-16
Posts: 63

[SOLVED] Where is PyKDE/PyKDE4?

I'm new to programming and tried to work through the PyKDE-Tutorial of the Ubuntu Developer Week. (https://wiki.ubuntu.com/MeetingLogs/dev … yKDEWebkit)

Within this tutorial a python module called PyKDE4 is imported.

from PyKDE4.kdecore import ki18n, KAboutData, KCmdLineArgs
from PyKDE4.kdeui import KApplication, KMainWindow

I installed the pykde package with pacman and tried to import PyKDE4. It didn't work. So I tried to import PyKDE. It didn't work either. So I searched through /usr/lib/python2.5/ and didn't find anything matching the following patterns: pykde, PyKDE, PyKDE4, PyKDE, PyKDE*, pykde*

Also, the 'whereis' command didn't return a result.

Would be happy if you can help me, so I can move on with this tutorial.

Thanks,
mamr

Last edited by mamr (2008-09-09 15:53:13)

Offline

#2 2008-09-09 13:39:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED] Where is PyKDE/PyKDE4?

Perhaps in kdebindings package.

Offline

#3 2008-09-09 14:03:54

X/ax
Member
From: Oost vlaanderen, Belgium
Registered: 2008-01-13
Posts: 275
Website

Re: [SOLVED] Where is PyKDE/PyKDE4?

I installed pykde too, and it's indeed nowhere to be found.
importing on whatever version possible ended up blank. Even the underlying pyqt was not to be found.
Or the package is fucked up, or something is going really wrong.

#edit
[cpf@galactica python2.5]% find | grep kde
./site-packages/kdefx.so
./site-packages/kdeui.so
./site-packages/kdecore.so
./site-packages/kdeprint.so
./site-packages/pykdeconfig.py

That's all that is found regarding kde in /usr/lib/python2.5/

And on the entire drive, the only decent things found at searching for pykde are the package information and the last hit for searching kde in /usr/lib/python2.5/

Something is telling me it is not there at all...

Last edited by X/ax (2008-09-09 14:09:16)


My coding blog (or an attempt at it)
Archer start page (or an attempt at it)

Offline

#4 2008-09-09 15:52:58

mamr
Member
Registered: 2008-08-16
Posts: 63

Re: [SOLVED] Where is PyKDE/PyKDE4?

lucke wrote:

Perhaps in kdebindings package.

That was the solution. My script works now.

Even when I remove the pykde package.

Thanks for your help!

Offline

Board footer

Powered by FluxBB