Windows上的Python + webkit + gtk

时间:2010-10-16 13:28:54

标签: windows webkit gtk pygtk

我正在尝试执行此脚本: PY WYSIWYG

它说我需要Gtk和WebKit。 我认为这就是我的需要:

所以我下载了WebKit但是我得到了一个文件夹而不是安装程序或安装信息。我是否将其移至python文件夹或我该怎么做?

2 个答案:

答案 0 :(得分:5)

您需要PyGTK,以下是指向Windows的安装说明的下载页面的链接:http://www.pygtk.org/downloads.html

您还需要Webkit的Python绑定,而不仅仅是Webkit本身。以下是非官方Windows二进制文件的链接,其中包含安装说明,以及指向底部附近的Windows的非官方Webkit运行时的链接:http://opensourcepack.blogspot.com/2009/12/pywebkitgtk-windows-binary.html

答案 1 :(得分:4)

automated installer of (mostly) GTK libraries Python。它应该有依赖性解决。这是非官方的。它包含webkit。我发现它是因为我想要Python的webkit安装程序。

我试了一下它就像魅力一样。

其中包含的所有插件的列表:

  • PyGTK 2.17.0,支持numpy
  • 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
  • 使用gst和​​gtk绑定的PyClutter 1.3.2
  • 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:我实际上遇到了other tutorial on webgui in Python mentioned here的问题,然后我找到了这个页面,你的教程也运行了。谢谢。 :)