CrazyEngineers
  • Python Error: ImportError: No module named gtk

    Updated: Oct 26, 2024
    Views: 974
    Will someone help me to get rid out of this problem in python programming in ubuntu 10.04?
    I got this error:
    ImportError: No module named gtk

    I tried to fix the problem by googling different sites but couldnot solve it.
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • silverscorpion

    MemberAug 15, 2012

    It seems you are trying to import a module named gtk and python cannot find that module.

    Make sure that whatever modules and libraries you are using in your program are actually available, and that Python is able to fine them.
    Are you sure? This action cannot be undone.
    Cancel
  • silverscorpion

    MemberAug 15, 2012

    And wen I searched for python modules containing gtk, this is the list I came up with,

    #-Link-Snipped-#

    I think the library you're trying to use in your program is pyGTK, and not just gtk. (pyGTK is a library used to create GUI's easily in Python.)
    Are you sure? This action cannot be undone.
    Cancel
  • hardwaresoftware

    MemberAug 15, 2012

    thanks for ur response..will u tell me something about same importing module error in wx instead of gtk
    Are you sure? This action cannot be undone.
    Cancel
  • Abhishek Rawal

    MemberAug 15, 2012

    hardwaresoftware
    thanks for ur response..will u tell me something about same importing module error in wx instead of gtk
    you need to download now wx module
    This will help you out : <a href="https://wiki.wxpython.org/How%20to%20install%20wxPython" target="_blank" rel="nofollow noopener noreferrer">How to install wxPython - wxPyWiki</a>
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register