python pygtk windows 7 64 bit

前端 未结 1 1600
无人共我
无人共我 2020-12-14 04:40

I have been working with pygtk on linux for some time.I just want to make my app more distributable. Now I have used pygtk for 32 bit, but now I\'d like to use pygtk for 64b

相关标签:
1条回答
  • 2020-12-14 05:32

    Ok for those that are searching for a GUI Python lib to be used in Windows 64 bit here it is!

    1) Install from python.org the python 64bit, If you already have python installed on your system, you wont need to worry about this. http://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi

    2)Add to your PATH in the advanced settings/environment variables ;C:\python27

    3)Then download the all in one installer from GTK+ http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip

    4)create a folder that is in c:\opt\gtk # it doesn't really matter where you'll just have to add it to PATH. unzip the folder and copy all the files to the the file created above. then, set your PATH to the file created E.G ;C:\opt\gtk\bin

    You can test it now in cmd by typing: "gtk-demo"

    5)Now you still have to get the libraries gtk,PyCairo,goobject http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygtk

    py2cairo-1.10.0.win-amd64-py2.7.‌exe

    pygobject-2.28.6.win-amd64-py2.7.‌exe

    pygtk-2.22.0.win-amd64-py2.7.‌exe

    I hope it helps. I saw a file "py2cairo-1.10.0.win-amd64-py2.7.‌exe" I am not certain if this is needed I am currently testing my applications. Now I just need to find gtksourceview2/3 for win7 64bit. Good Luck! ;)

    0 讨论(0)
提交回复
热议问题