Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8973999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:34:40+00:00 2026-06-15T18:34:40+00:00

I can import gtk without any problem previously. I made a GUI in glade

  • 0

I can import gtk without any problem previously. I made a GUI in glade for GTK+ 3. Then I thought that I would like to try GTK+ 3. So I installed PyGObject. I later found out that PyGObject has little documentation and I’m using Windows (makes things worse I know).

The problem is here, I can’t use import gtk anymore. Neither can I use from gi.repository import Gtk. I’ve tried installing PyGTK bundle again but it doesn’t help.

    >>> import gtk

    Traceback (most recent call last):
      File "<pyshell#0>", line 1, in <module>
        import gtk
      File "C:\Python27\lib\site-packages\gtk-2.0\gtk\__init__.py", line 30, in <module>
        import gobject as _gobject
      File "C:\Python27\lib\site-packages\gtk-2.0\gobject\__init__.py", line 26, in <module>
        from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
      File "C:\Python27\lib\site-packages\gtk-2.0\glib\__init__.py", line 22, in <module>
        from glib._glib import *
    ImportError: DLL load failed: The specified procedure could not be found.`
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:34:42+00:00Added an answer on June 15, 2026 at 6:34 pm

    This looks like C-level library is missing, or at least in a place where the Python wrappers can’t find it. Try re-installing whichever version of the C library corresponds to which Python library you would like to use (GTK2 and GTK3 should, theoretically, be parallel installable, but that installing the newer PyGobject broke import gtk suggests that at least these particular bindings aren’t for some reason).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As it stands, I have a deserialiser that can import any model I throw
How can I import a CSV file into a MySQL table? I would like
Is there any way that I can import gnu.io.serialport classes? I trying to do
To my surprise and delight I read that an adminsitrator can import (nearly directly)
I need to parse filenames so that I can import them into mySQL. The
I wonder how i can import csv files that selected by user to database
is there a way we can import a class under another name? Like if
It's weird that dlsym can import functions from stripped binaries. Can anyone tell me
I'm trying to write a DLL that I can import in Python (2.7), and
I would like to transfer data to threading class, but I can't get what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.