Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >python2.7
- Python 2.7.3 (default, Jul 28 2012, 16:54:06)
- [GCC 4.4.5] 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
- tiger@debian:~$ python
- Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
- [GCC 4.4.5] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import gtk
- >>> import pygtk
- >>> import gobject
- sudo pip install PyGTK
- $ virtualenv -p /usr/bin/python2.7 .
- $ sudo pip install PyGTK
- pip install PyGTK
- brew install pygtk
- sudo apt-get install python-gtk2-dev
- conda install -c ostrokach gtk
Add Comment
Please, Sign In to add comment