You are not logged in.
Greetings,
I'm trying to run Kazam Screen caster but I get the following problems when I try to execute it:
[user@host bin]$ ./kazam
Traceback (most recent call last):
File "./kazam", line 26, in <module>
import pygtk
ImportError: No module named pygtk
I have python and pygtk installed:
[user@host bin]$ pacman -Qi python
Name : python
Version : 3.1.3-1
URL : http://www.python.org
Licenses : custom
Groups : None
Provides : python3
Depends On : expat bzip2 gdbm openssl libffi zlib
Optional Deps : tk: for tkinter
Required By : python-cairo
Conflicts With : None
Replaces : python3
Installed Size : 66452.00 K
Packager : Unknown Packager
Architecture : x86_64
Build Date : Wed 01 Dec 2010 08:28:14 AM AST
Install Date : Sat 11 Dec 2010 01:03:42 PM AST
Install Reason : Explicitly installed
Install Script : No
Description : Next generation of the python high-level scripting language
[user@host bin]$ pacman -Qi pygtk
Name : pygtk
Version : 2.22.0-3
URL : http://www.pygtk.org/
Licenses : LGPL
Groups : None
Provides : None
Depends On : libglade>=2.6.4 pycairo>=1.8.10 pygobject>=2.21.5
Optional Deps : python-numpy
Required By : ccsm fusion-icon gnome-games gnome-menus
gtk-recordmydesktop orca pygtksourceview2 python-brasero
python-bugbuddy python-evince python-evolution
python-gnomeapplet python-gnomedesktop python-gnomekeyring
python-gnomeprint python-gtkglext python-gtksourceview
python-gtop python-mediaprofiles python-metacity
python-rsvg python-totem-plparser python-wnck
python2-bonobo python2-gconf python2-gnomecanvas
python2-libgnome
Conflicts With : None
Replaces : None
Installed Size : 17388.00 K
Packager : Ionut Biru <ibiru@archlinux.org>
Architecture : x86_64
Build Date : Wed 06 Oct 2010 11:13:26 AM AST
Install Date : Sat 11 Dec 2010 01:03:44 PM AST
Install Reason : Installed as a dependency for another package
Install Script : No
Description : Python bindings for the GTK widget set
Last edited by gfx010 (2010-12-11 16:12:15)
Offline
http://www.archlinux.org/news/python-is-now-python-3/
basically make kazam use python2 instead of python
Give what you have. To someone, it may be better than you dare to think.
Offline
http://www.archlinux.org/news/python-is-now-python-3/
basically make kazam use python2 instead of python
Thanks for the reply,
"any program requiring 2.x needs to point to /usr/bin/python2 instead"
How do I make Kazam point to python2?
----- EDIT:
Should I edit the Kazam executable with a text editor:
and change: #!/usr/bin/env python
with #!/usr/bin/env python2
Is that what you mean?
Last edited by gfx010 (2010-12-11 16:31:30)
Offline
So I edited the Kazam executable with a text editor and
I changed #!/usr/bin/env python
with #!/usr/bin/env python2
And I get the following errors now:
[user@host bin]$ ./kazam
INFO:root:Running locally
Traceback (most recent call last):
File "./kazam", line 69, in <module>
from kazam.app import KazamApp
File "/home/user/Downloads/kazam/kazam/app.py", line 38, in <module>
from kazam.frontend.indicator import KazamIndicator
File "/home/user/Downloads/kazam/kazam/frontend/indicator.py", line 28, in <module>
import keybinder
ImportError: No module named keybinder
Last edited by gfx010 (2010-12-11 16:50:28)
Offline
is there a directory named 'keybinder' in /usr/lib/python2.7/site-packages or /usr/lib/python3.1/site-packages?
Offline
is there a directory named 'keybinder' in /usr/lib/python2.7/site-packages or /usr/lib/python3.1/site-packages?
There is no directory named "keybinder" in neither directories.
Offline
is there a directory named 'keybinder' in /usr/lib/python2.7/site-packages or /usr/lib/python3.1/site-packages?
Works fine now, turns out I needed to install: python-keybinder and python-keybinder is only available in the AUR. Why did ArchLinux put such an important package used by many apps in the AUR? It should be in the main repos. :roll-eyes
Last edited by gfx010 (2010-12-12 04:38:41)
Offline