while newest mingw-w64 capable of targeting msvc 14 runtime (python 3.5-3.8) and I just tried simple stuff. I dont think I will return to this project. So no.
Is that a no?
I'm asking if you could please make a version for all python versions, since i'm using 3.9 and i don't want to use 3.4. Any version after 3.4 does not appear when looking for path and when showing it a path.
what's the error? i think it should works with 3.4.x but not 3.5+
Could you make the installer work on python 3.4+?
I'm also interested. Is there any documentation about the process so that we can help in some way?
if you are able to make it work with python 3 can you please share the setup.exe with me. Thanks
I am able to run all of these individually but still encounter OP's problem
me too. I can install pytts in python 3.4 :(
Thanks a lot, but we need support for python 5, because python 4 is not supported any more :(
I am interested also.
Is there a plan to update the Python GTK AIO installer for Python 3.7? I would appreciate it. Python 3.4 is already end of life. Andrew
issue present in exe pygi-aio-3.24.1_rev1-setup_049a323fe25432b10f7e9f543b74598d4be74a39 Issue solved with the older version pygi-aio-3.18.2_rev12-setup_549872deadabb77a91efbc56c50fe15f969e5681
Any solution?
Facing same issue.. Any solution?
path linked..
Path of original destination
not able to PyGObject for Windows
Hello again! I tried rebuilding again, this time using master branch from https://github.com/wingtk/gvsbuild (the guruDanny67 I used before is a fork of this repo). This one seems to be much easier than before. I added two new cmd line parameters: --enable-gi and --gtk3-ver 3.22 and just built gtk3-full. I already had my Windows setup .exe and/or wheel files for PyCairo and PyGobject, and after I installed these, simple tests work.
Hello @Stav! It's been a while, but I think that you also have to build the gobject-introspection package, and add your \gtk-build\gtk\Win32\release\bin directory to the path.
Hello @Stav! It's been a while, but I think that you also have to build the gobject-introspection package, and add your \gtk-build\gtk\Win32\release directory to the path.
I can't help about GStreamer, sorry. It was my primary reason to build all this, but I couldn't make gst-python work.
Hello! It's been a while, but I think that you also have to build the gobject-introspection package, and add your \gtk-build\gtk\Win32\release directory to the path.
I need to figure this out too, as well as gst-python. GStreamer is a backend for a beets plugin I want to use, and I'd prefer to use GStreamer for its large amount of file types it supports. Any info you could give would be very helpful indeed.
I need to figure this out too, as well as gst-python. GStreamer is a backend for a beets plugin, and I'd prefer to use it for its large amount of file types it supports. Any info you could give would be very helpful indeed.
Hi @fritfrut, thanks for the helpful comment. I've tried following your steps and I now have both pycairo-1.17.1-py3.6-win-amd64.egg and PyGObject-3.28.3-py3.6-win-amd64.egg. I've tried easy_install-ing these egg's and now python can import gi but gi.gi.require_version("Gtk", "3.0") fails with ValueError: Namespace Gtk not available Also, I can run gtk_demo.exe fine from GTK's build bin directory. Does this ring a bell? Can you give a bit more details on how you set it up once you had the libraries...
Hello I have managed to build pygobject and pycairo using the build scripts from https://github.com/guruDanny67/gvsbuild. The build scripts use VS Build tools (vs2015 or vs2017). I used the 'ed2018' branch to build pygobject libs and includes, and setup.py for pygobject from the pypi page (https://pypi.org/project/PyGObject/#files). It seems to work fine, so this might help you. Cheers, Tom
Unable to use PyGOject as a package to import to Visual Studio 2017 - Python 3.6
I don't maintain pypi project, those are source-only download (so you need lot of tools beside VS) this project only for python 2.7/3.4 ,that is VS 2008/2010 I don't know how to do VS2017 build see https://sourceforge.net/p/pygobjectwin32/tickets/50/
Unable to use PyGOject as a package to import to Visual Studio 2017 - Python 3.6
Hi, I have also meet the same problem on Windows with pygi-aio-3.14.0_rev22-setup and python 2.7. I tried to follow the instructions @tumagonx gives out. I have copied files in gnome, cairo, pygtkcompact and gi directory into the XXX.dist directory. However it still report "cannot import name Gtk", even after i copied the "rpath.pth" file in. Due to the path of gnome is added by "rpath.pth" file in site-packages directory in Python distribution, I suspect that nuitka have difficulty on that.
regrets I'm not familiar with that toolchain either. worried that this will impact lots of dependent projects though. just a guess - is moving to a mingw environment a pathway?
sorry this is pathetic, but I still have no idea how to use gcc against vc 2015 runtime which used by python 3.5 or later, and with gtk 3.22 still break clutter-gtk and with upstream move to gtk4, there will be hiatus on pygobjectwin32 releases as well.
Hi - wondering when we might see a release supporting python 3.6 now? am dependent upon this for a project.. thanks!
Hi, I'm trying to install in silent mode. But I see no change when I'm trying to use the commandline example in the history. Is this feature still available?
not gonna happen, what it has to do with gobject introspection anyway? OTOH have you tried htmldoc?
tumagonx, sorry, I did not want to say that you are my teacher, I just wanted to express my gratitude for your work. There are not good libraries to export a pdf file from html code, I am using pdfkit, but there is another library more powerful called weasyprint, obviusly you know it, but it does not run on windows, I did all steps given in their documentation, but it does not run yet.
I don't know if someone made gcc for msvcrt 14.0 yet
there is buildscript https://github.com/tumagonx/pygi-mingw-patches/blob/master/gnomebuild.sh compiler already provided here but the way it is, #50 (flag -vcr140) try to link to all winapi-* stuff never produce executable, there always missing functions, so I use -vcr130 but that doesn't cut it, 64bit crashed. hope you have better chance. or you could try vc++ which core libraries (glib, gi, gtk) covered.
Hi! Are there any build instructions for pygobjectwin32 anywhere? How do you create those installers? I'm asking because #50 has been apparently idleing around for quite some time, I maybe would take a stab at fixing it myself – but I can't without access to the build files. Thanks for all the work you did already do either way!
errr I'm not YOUR TEACHER, FYI I have tested poppler in python since I included it in the first release!!! and the issue with Evince is not mine either it was most likely an ambiguous assumption by upstream developer. I'm reluctant to include application oriented thing like evince, people should use poppler or gepub and COOK their code. not use high level library like evince. btw thanks for your review (sarcasm) at homepage. the docs is included in installer!
errr I'm not YOUR TEACHER, FYI I have tested poppler in python since I included it in the first release!!! and the issue with Evince is not mine either it was most likely an ambiguous assumption by upstream developer. I'm reluctant to include application oriented thing like evince, people should use poppler or gepub and COOK their code. to use evince. btw thanks for your review (sarcasm) at homepage. the docs is included in installer!
Thanks for answer me, yes, I commited a mistake with Poppler, may you give some documentation of Poppler in gtk3 with python?, but I fixed my mistake and after many many hours, I achieved show my pdf file in my python program. There is not information about Poppler in windows, even I wasted a lot of time trying to find a correct URI for windows,the correct URI is "file:///D:/file.pdf", with "D:/file.pdf" I got error. About Evince, I copied all directories from C:\Python34\lib\evince\4\backends to...
Thanks for answer me, yes, I commited a mistake with Poppler, may you give some documentation of Poppler in gtk3 with python?, but I fixed my mistake and after many many hours, I achieved show my pdf file in my python program. There are not information about Poppler in windows, even I wasted a lot of time trying to find a correct URI for windows,the correct URI is "file:///D:/file.pdf", with "D:/file.pdf" I got error. About Evince, I copied all directories from C:\Python34\lib\evince\4\backends to...
Thanks for answer me, yes, I commited a mistake with Poppler, may you give some documentation of Poppler in gtk3 with python?, but I fixed my mistake and after many many hours, I achieved show my pdf file in my python program. There are not information about Poppler in python, even I wasted a lot of time trying to find a correct URI for windows,the correct URI is "file:///D:/file.pdf", with "D:/file.pdf" I got error. About Evince, I copied all directories from C:\Python34\lib\evince\4\backends to...
Thanks for answer me, yes, I commited a mistake with Poppler, may you give some documentation of Poppler in gtk3 with python?, but I fixed my mistake and after many many hours, I achieved show my pdf file in my python program. There are not information about Poppler in python, even I wasted a lot of time trying to find a correct URI for windows,the correct URI is "file:///D:/file.pdf", with "D:/file.pdf" I got error. About Evince, I copied all directories from C:\Python34\lib\evince\4\backends to...
Don't forget use proper URI for file path.
for poppler, do you mean Poppler.Document.new_from_file() ? document_new_from_file is the C function, please see docs. About evince it looks like it's not properly relocatable I will fix it in next revision, thanks! As workaround try re-run with current directory: C:\Python34\lib\site-packages\gnome
Thanks a lot, however, I waste my time trying using the packages EVINCE AND POPPLER DOESNT WORK I get this error: "AttributeError: 'gi.repository.Poppler' object has no attribute 'document_new_from_file'" MY CODE import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk,Gdk,Pango from gi.repository import Poppler Poppler.document_new_from_file("D:/1.pdf", None) EVINCE doesnt work too, I get this error: «C:\Python34\lib\evince\4\backends»: No such file or directoryss (python.exe:8920):...
Thanks again pal, it worked! And getting to use v3.16.4 was an unexpected surprise.
Thanks! I'm gonna try it. (By the way, I posted a reply to you yesterday but it's still waiting for approval. Hope this one goes more quickly)
I meant pygi-aio-3.24.1
Hi, I try meld 3.16.4 and change the following in setup_win32.py: missing_dll = [ 'libgtk-3-0.dll', 'libgdk-3-0.dll', 'libatk-1.0-0.dll', 'libintl-8.dll', 'libzzz.dll', 'libwinpthread-1.dll', 'libcairo-gobject-2.dll', 'libgdk_pixbuf-2.0-0.dll', 'libpango-1.0-0.dll', 'libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll', 'libpangowin32-1.0-0.dll', 'libffi-6.dll', 'libfontconfig-1.dll', 'libfreetype-6.dll', 'libgio-2.0-0.dll', 'libglib-2.0-0.dll', 'libgmodule-2.0-0.dll', 'libgobject-2.0-0.dll', 'libgirepository-1.0-1.dll',...
Hi, I try meld 3.16.4 and change the following in setup_win32.py: missing_dll = 'libgtk-3-0.dll', 'libgdk-3-0.dll', 'libatk-1.0-0.dll', 'libintl-8.dll', 'libzzz.dll', 'libwinpthread-1.dll', 'libcairo-gobject-2.dll', 'libgdk_pixbuf-2.0-0.dll', 'libpango-1.0-0.dll', 'libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll', 'libpangowin32-1.0-0.dll', 'libffi-6.dll', 'libfontconfig-1.dll', 'libfreetype-6.dll', 'libgio-2.0-0.dll', 'libglib-2.0-0.dll', 'libgmodule-2.0-0.dll', 'libgobject-2.0-0.dll', 'libgirepository-1.0-1.dll',...
Hi, I try meld 3.16.4 and change the following in setup_win32.py: missing_dll = 'libgtk-3-0.dll', 'libgdk-3-0.dll', 'libatk-1.0-0.dll', 'libintl-8.dll', 'libzzz.dll', 'libwinpthread-1.dll', 'libcairo-gobject-2.dll', 'libgdk_pixbuf-2.0-0.dll', 'libpango-1.0-0.dll', 'libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll', 'libpangowin32-1.0-0.dll', 'libffi-6.dll', 'libfontconfig-1.dll', 'libfreetype-6.dll', 'libgio-2.0-0.dll', 'libglib-2.0-0.dll', 'libgmodule-2.0-0.dll', 'libgobject-2.0-0.dll', 'libgirepository-1.0-1.dll',...
I'm sorry to hear that, but I don't keep that particular revision in my backup, Could you tell me the problem, If a library update break thing, I could rebuild that dll for you.
Dowload links to old versions are missing
Which version of webkitgtk in your the linux?
Thanks, try replace [site=packages]\gnome\lib\girepository-1.0\WebKit2-3.0.typelib with the one attached.
WebKit2.WebResource.get_data_finish not returning string
install in cmd with no interaction
Glad you work it out, took me a while to understand why you try to do it that way :)
passing argument to setup.exe has no effect. But I finally have something that works. I launch setup.bat with rcmd.exe: rcmd.exe /c setup.bat C:\Python34 GTK there is still some warning about file not found etc... (but I believe the same are raised in the GUI application) and it exits correctly. if some people are interested the whole script for appveyor is: appveyor DownloadFile "https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.18.2_rev12-setup_549872deadabb77a91efbc56c50fe15f969e5681.exe/download"...
passing argument to setup.exe has no effect. But I finally have something that works. I launch setup.bat with rcmd.exe: rcmd.exe /c setup.bat C:\Python34 GTK there is still some warning about file not found etc... (but I believe the same are raised in the GUI application) and it exits correctly. if some people are interested the whole script for appveyor is: appveyor DownloadFile "https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.18.2_rev12-setup_549872deadabb77a91efbc56c50fe15f969e5681.exe/download"...
passing argument to setup.exe has no effect. But I finally have something that works. I launch setup.bat with rcmd.exe: rcmd.exe /c setup.bat C:\Python34 GTK there is still some warning about file not found etc... (but I believe the same are raised in the GUI application) and it exits correctly. if some people are interested the whole script for appveyor is: appveyor DownloadFile "https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.18.2_rev12-setup_549872deadabb77a91efbc56c50fe15f969e5681.exe/download"...
passing argument to setup.exe has no effect. But I finally have something that works. I launch setup.bat with rcmd.exe: rcmd.exe /c setup.bat C:\Python34 GTK there is still some warning about file not found etc... (but I believe the same are raised in the GUI application) and it exits correctly. if some people are interested the whole script for appveyor is: appveyor DownloadFile "https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.18.2_rev12-setup_549872deadabb77a91efbc56c50fe15f969e5681.exe/download"...
passing argument to setup.exe have no effect. But I finally have something that works. I launch setup.bat with rcmd.exe: rcmd.exe /c setup.bat C:\Python34 GTK there is still some warning about file not found etc... (but I believe the same are raised in the GUI application) and it exits correctly. if some people are interested the whole script for appveyor is: appveyor DownloadFile "https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.18.2_rev12-setup_549872deadabb77a91efbc56c50fe15f969e5681.exe/download"...
I think the unintended arguments is for setup.exe not for setup.bat directly. (You could see in zsetup.txt there is some preparation)
install in cmd with no interaction
thanks, I will try tune down the 32bit version next time
Hi. so finally i failed building a debug version of the dll. But I tried your last...
pyqt it shall be :-(
Hey, could you share how you compiled the python bindings on windows? https://github.com/GNOME/pygobject...
Hi, any information on this? I need to get this app working on Windows soon. I could...
Crash window
Application crashes on Gtk.Window.show_all
reproduced, at first I forgot to patch pyconfig.h for mingw64 but it still crashed...
I tried pygi-slimgtk-3.22.7z with WinPython-64bit-3.5.2.3, but "import gi" makes...
thanks, in the past SSE or wrong gcc optimization often cause segfault too especially...
Thanks a lot for the new rev11 release. Somehow i still get a segmentation fault...
https://sourceforge.net/projects/pygobjectwin32/files/pygi-slimgtk-3.22.7z/downl...
For commandline option I try addressing this in rev11, for pygi 3.22 I might not...
Please try the new rev11
thanks, after testing a not so good gtk 3.22, I think I will make one more update...
Please merge a bugfix in gstreamer-plugins
Hmm looks like big changes in gdkwin32 since gtk 3.20 still break some libraries:...
Excellent, thanks for considering this :)
All right the segfault was fixed in 3.22.5!
it seems gtk 3.22 is the last gtk3... :( I hope they make some fixes before jump...
Hi, i reported a crash to the gstreamer mailing list and it is fixed now. I hoped...
Dennis do you have a running binary? If not then I will just re-mark gtk-3.22 as...
If you provided a repo with all needed sources and some instructions how you build...
To be precise segfault at 0x710f8597 in libgdk-3-0!gdk_win32_drag_context_get_type...
Sorry guys, when I tried gtk 3.22.2 I always get: gdk_display_get_device_manager:...
FYI: GStreamer 1.10.0 was released on 1st November 2016. :) https://gstreamer.fr...