Python + webkit + gtk on windows

22,538

Solution 1

You need PyGTK, here is a link to the download page with install instructions for Windows: http://www.pygtk.org/downloads.html

You also need the Python bindings for Webkit, not just Webkit itself. Here is a link to an unofficial Windows binary, with install instructions, and a link to an unofficial Webkit runtime for Windows near the bottom too: http://opensourcepack.blogspot.com/2009/12/pywebkitgtk-windows-binary.html

Solution 2

There is automated installer of (mostly) GTK libraries Python. It should have dependencies solved. It is unofficial. It contains webkit. I found it because I wanted webkit installer for Python.

I tried it and it worked like charm.

List of all plugins contained inside of it:

  • PyGTK 2.17.0 with numpy support
  • PyGobject 2.21.5
  • PyCairo 1.8.10
  • PyGtkspell, PyGTKhtml2, PyGDL 2.25.3
  • PyGDA 2.29.1
  • PyGST (Python Gstreamer) 0.10.20
  • PyWebkitGTK 1.18
  • PyClutter 1.3.2 with gst and gtk binding
  • PyGTKGlExt 1.1.0
  • PyGoocanvas 0.14.1
  • PyGTKSourceview 2.10.0
  • PyGTKImageview 1.2.0
  • PyRSVG 2.30
  • PyScintilla 1.99
  • PMing 4.4
  • Python Poppler 0.12 GPL
  • VIPSCC 7.24

PS: I actually had problem with other tutorial on webgui in Python mentioned here, then I found this page and Your tutorial worked. Thanks. :)

Share:
22,538
DonJuma
Author by

DonJuma

Server Administrator Web Developer

Updated on June 29, 2020

Comments

  • DonJuma
    DonJuma almost 4 years

    I am trying to do this script: PY WYSIWYG

    And it says I need Gtk and WebKit. I think this is what I need:

    So I downloaded WebKit but I got a folder instead of an installer or install information. Do I move it into the python folder or what do I do?

  • RedRoosterMobile
    RedRoosterMobile over 11 years
    Antivir found a virus in that installer: TR/Diple.aipm.2 some glade.exe