473,387 Members | 1,423 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,387 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 5164
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.