From: <dy...@or...> - 2016-10-19 19:25:19
|
Hello, it is years now that I am trying to find a py2exe solution for Python 3 and Gtk 3, which will accept : from gi.repository import ... I know there is a py2exe for Python 3 (py2exe 0.9.2.0) but when I try to build my script, I get : 29 missing Modules ------------------ ? System imported from PyPDF2.filters ? UserList imported from pygtkcompat.pygtkcompat ? gi.repository.Atk imported from pygtkcompat.pygtkcompat ? gi.repository.GLib imported from pygtkcompat.pygtkcompat ? gi.repository.GObject imported from pdfshuffler_g3, pdfshuffler_iconview3, pygtkcompat.generictreemodel, pygtkcompat.pygtkcompat ? gi.repository.GUdev imported from pygtkcompat.pygtkcompat ? gi.repository.Gdk imported from __SCRIPT__, pdfshuffler_g3, pygtkcompat.pygtkcompat ? gi.repository.GdkPixbuf imported from pygtkcompat.pygtkcompat ? gi.repository.Gio imported from __SCRIPT__, files_chooser, pdfshuffler_g3, pygtkcompat.pygtkcompat ? gi.repository.GooCanvas imported from pygtkcompat.pygtkcompat ? gi.repository.Gst imported from pygtkcompat.pygtkcompat ? gi.repository.GstAudio imported from pygtkcompat.pygtkcompat ? gi.repository.GstBase imported from pygtkcompat.pygtkcompat ? gi.repository.GstController imported from pygtkcompat.pygtkcompat ? gi.repository.GstInterfaces imported from pygtkcompat.pygtkcompat ? gi.repository.GstPbutils imported from pygtkcompat.pygtkcompat ? gi.repository.GstVideo imported from pygtkcompat.pygtkcompat ? gi.repository.Gtk imported from __SCRIPT__, files_chooser, pdfshuffler_g3, pdfshuffler_iconview3, pygtkcompat.generictreemodel, pygtkc ompat.pygtkcompat ? gi.repository.Pango imported from __SCRIPT__, pdfshuffler_g3, pygtkcompat.pygtkcompat ? gi.repository.PangoCairo imported from pygtkcompat.pygtkcompat ? gi.repository.Poppler imported from __SCRIPT__, pdfshuffler_g3, pygtkcompat.pygtkcompat ? gi.repository.Vte imported from pygtkcompat.pygtkcompat ? gi.repository.WebKit imported from pygtkcompat.pygtkcompat ? netbios imported from uuid ? readline imported from cmd, code, pdb ? sets imported from PyPDF2.pdf ? win32api imported from platform ? win32con imported from platform ? win32wnet imported from uuid Building 'dist\pdfbooklet3004.exe'. error: [Errno 2] No such file or directory: 'c:\\prog2\\python34\\lib\\site-packages\\py2exe-0.9.2.0-py3.4.egg\\py2exe\\run_w-py3.4-win32.exe' d:\Mes documents\en cours\PdfBooklet3>run_w-py3.4-win32.exe The other issue is the last line : run_w-py3.4-win32.exe does not exist. Does anyone has a working solution for building a python 3 - Gtk3 application ? Thanks Dysmas --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus |