| | |
Can't get GTK to work
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
I am still trying to take a look at the gtk GUI package and reinstalled the following:
gtk-win32-devel-2.8.6-rc3.exe
and
pygtk-2.8.2-1.win32-py2.4.exe (updated version)
I have it down to a simpler error message now. Here are my warnings and errors with the sample file base.py
Also an error box comes up ...
Here is the code for the small sample file from the gtk docs ...
Does anybody have ideas?
I have a Windows XP box and use Python24.
gtk-win32-devel-2.8.6-rc3.exe
and
pygtk-2.8.2-1.win32-py2.4.exe (updated version)
I have it down to a simpler error message now. Here are my warnings and errors with the sample file base.py
Python Syntax (Toggle Plain Text)
Traceback (most recent call last): File "D:/Python24/Atest/Demo/pyGTK/base.py", line 7, in ? import gtk File "D:\Python24\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 37, in ? from _gtk import * ImportError: DLL load failed: The specified procedure could not be found.
Python Syntax (Toggle Plain Text)
The procedure entry point gdk_cairo_create could not be located in the dynamic link library libgdk=win32-2.0-0.dll
Python Syntax (Toggle Plain Text)
#!/usr/bin/env python # example base.py import pygtk pygtk.require('2.0') import gtk class Base: def __init__(self): self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.window.show() def main(self): gtk.main() print __name__ if __name__ == "__main__": base = Base() base.main()
I have a Windows XP box and use Python24.
Last edited by vegaseat; Dec 11th, 2005 at 11:31 am.
May 'the Google' be with you!
![]() |
Similar Threads
- gtk.ComboBox (Python)
- Can't get samba to work! (*nix Software)
Other Threads in the Python Forum
- Previous Thread: Modifying a project in python
- Next Thread: exporting Excel tables into PostgreSQL database
Views: 3576 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Python
address ansi backend beginner changecolor class client code conversion coordinates copy curves customdialog dan08 dictionary directory dynamic edit editing examples excel feet file float font format ftp function generator getvalue gui halp homework i/o images import info input ip java line linux list lists loop microcontroller mouse mysql newb number numbers output panel parsing path port prime program programming projects py2exe pygame pyqt python queue random rational recursion recursive schedule screensaverloopinactive scrolledtext searchingfile socket ssh statictext string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial type ubuntu unicode url urllib urllib2 variable whileloop windows write wxpython






