473,289 Members | 1,959 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Problem Compilation Modules Missing With Py2exe

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]
Oct 14 '07 #1
1 5161
bartonc
6,596 Expert 4TB
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:
Expand|Select|Wrap|Line Numbers
  1. includes = ["PMDDialog", "PMD"]
  2. excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
  3.             "pywin.dialogs", "pywin.dialogs.list",
  4.             "Tkconstants","Tkinter","tcl",
  5.             ]
  6.  
  7. setup(
  8.     options = {"py2exe": {"compressed": 1,
  9.                           "optimize": 2,
  10.                           "ascii": 1,
  11.                           "bundle_files": 1,
  12.                           "packages": packages,
  13. ##                          "includes": includes,
  14.                           "excludes": excludes}},
in this thread.

Hope that helps.
Oct 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
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...
0
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...
4
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...
0
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....
5
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 ############## ...
0
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...
11
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...
4
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...
11
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...
0
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"....
0
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...
0
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 =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
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...
0
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...
1
isladogs
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...
0
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...
1
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)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.