• 0
Sign in to follow this  
katrash

Erro com "import gtk"

Question

Galera, quando uso "import gtk" recebo o seguinte:

>>> import gtk

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gtk
  File "C:\Python25\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 48, in <module>
    from gtk import _gtk
ImportError: DLL load failed: Não foi possível encontrar o procedimento especificado.
>>>

Eu estava recebendo três mensagens de erro. Removi tudo, incluindo dlls do GTK no system32.

Instalei tudo novamente da seguinte forma:

  • gtk-2.10.11-win32-1.exe
  • python-2.5.2.msi
  • pycairo-1.2.2-1.win32-py2.5.exe
  • pygobject-2.12.1-1.win32-py2.5.exe
  • pygtk-2.10.1-1.win32-py2.5.exe

Agora não sei mais o que fazer para isso funcionar direito. Podem me ajudar?

Vlw!

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this