i work with python25,mysqldb25,pygtk25 ,with vista os
when i compile my setup.py with py2exe appears modules gdk,ltihooks,gobject.timeout_add] missing and my executable did not work please help me give me the gobject and gdk module if you work with debian you can have them
address:[REMOVED per site rules]
1 5161
i work with python25,mysqldb25,pygtk25 ,with vista os
when i compile my setup.py with py2exe appears modules gdk,ltihooks,gobject.timeout_add] missing and my executable did not work please help me give me the gobject and gdk module if you work with debian you can have them
address:[REMOVED per site rules]
I can't help directly because I'm on Windows. But I do know that you'll need to play with you includes and may as well tinker with the excludes options to setup(). Much as I have done here: -
includes = ["PMDDialog", "PMD"]
-
excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
-
"pywin.dialogs", "pywin.dialogs.list",
-
"Tkconstants","Tkinter","tcl",
-
]
-
-
setup(
-
options = {"py2exe": {"compressed": 1,
-
"optimize": 2,
-
"ascii": 1,
-
"bundle_files": 1,
-
"packages": packages,
-
## "includes": includes,
-
"excludes": excludes}},
in this thread.
Hope that helps.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: RJS |
last post by:
Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out...
|
by: bapeterson |
last post by:
I'd like to use PY2EXE to "compile" a program using the
VPYTHON module (www.vpython.org). I have an example
where this was previously done to the demo script: Hanoi.py
(a towers of Hanoi demo) a...
|
by: Sarah Mount |
last post by:
Hi everyone.
I'm trying to create an exe for a simple pygame app on Win XP.
I think I've got the latest (python, py2exe, pygame) and my setup.py
file looks like this:
| from distutils.core...
|
by: Andrea |
last post by:
Hello NG,
I'm trying to follow the mayavi documentation in order to run
mayavi from python. In "Chapter 4. Using MayaVi from Python", there is
a simple example like this:
# generate the data....
|
by: Lad |
last post by:
I try to make an exe file from my script with help of Py2exe but I am
not successfull.
I have my script
start.py that has only one command
###############
import rgs.py
##############
...
|
by: Lad |
last post by:
I use wxPython 2.5.3 with PythonWin 2.3.4. I have a script that can be
run
from Python without any problems. But when I try to run the compiled
script( with Py2exe) I get
Traceback (most recent...
|
by: uid09012_ti |
last post by:
Hi,
i get the following error message when i use py2exe on my application:
The following modules appear to be missing
I've installed PyXML-0.8.4.win32-py2.4.exe. My version of python is...
|
by: bwaha |
last post by:
First time trying to create an executable with py2exe. I have a small
program which makes use of python23 (2.3.5?), wxpython ('2.6.2.1'),
matplotlib ('0.83.2'), win32com (latest?), Numeric...
|
by: Tina I |
last post by:
Hi list,
Is there a preferred way to distribute programs that depends on third
party modules like PyQt, Beautifulsoup etc? I have used setuptools and
just having the setup script check for the...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |