You are not logged in.
Hi,
First, it's the first time I use python.
I want to do the following on my arch system:
http://mygeekopinions.blogspot.com/2011 … layer.html
But i can't get the install.py running
File "install.py", line 6, in <module>
import gtk, gst, subprocess as sub, getpass
ImportError: No module named gtk
"ImportError: No module named gtk" ? i know what it says but.... really? I have gtk installed
Thanks!
Last edited by tgoossens (2011-05-11 20:45:13)
Share and enjoy!
Offline
you need a python gtk module, not the full-on gtk package (although you need that too :-) )
I know for python2 it was pygtk - not sure about python(3)
$ python
Python 3.2 (r32:88445, Apr 15 2011, 11:09:05)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named gtk
>>>
$ python2
Python 2.7.1 (r271:86832, Apr 15 2011, 12:09:10)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>>
Last edited by oliver (2011-05-11 21:34:17)
Offline
In the install.py change
#!/usr/bin/python
to
#!/usr/bin/python2
Offline