473,441 Members | 4,653 Online
Bytes | Software Development & Data Engineering Community
New Post

Home Posts Topics Members FAQ

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 5167
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.