Guest User

Untitled

a guest
May 27th, 2018
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. >python2.7
  2. Python 2.7.3 (default, Jul 28 2012, 16:54:06)
  3. [GCC 4.4.5] on linux2
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> import gtk
  6. Traceback (most recent call last):
  7. File "<stdin>", line 1, in <module>
  8. ImportError: No module named gtk
  9.  
  10. tiger@debian:~$ python
  11. Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
  12. [GCC 4.4.5] on linux2
  13. Type "help", "copyright", "credits" or "license" for more information.
  14. >>> import gtk
  15. >>> import pygtk
  16. >>> import gobject
  17.  
  18. sudo pip install PyGTK
  19.  
  20. $ virtualenv -p /usr/bin/python2.7 .
  21.  
  22. $ sudo pip install PyGTK
  23.  
  24. pip install PyGTK
  25.  
  26. brew install pygtk
  27.  
  28. sudo apt-get install python-gtk2-dev
  29.  
  30. conda install -c ostrokach gtk
Add Comment
Please, Sign In to add comment