Hi,

I have a problem with the installation of gdk on my Windows (64 bit); I've installed Python 2.7  and pygtk-all-in-one-2.22.5.

If I edit a script with just the instruction "import gtk" and then I run it, I have this error:
  File "C:\CRISTINA\Python\import_gtk.py", line 1, in <module>
    import gtk
  File "C:\CRISTINA\Python\gtk.py", line 3, in <module>
    window = gtk.Window()
AttributeError: 'module' object has no attribute 'Window'

Instead, if I write "import pygtk", everything is ok.

Can someone help me please?

--
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to