Hi,
I have problem with my py2exe. When I want to run my compiled exe, then
i get
error information like that:
Trackback (most recent call last):
File "mysql_gui. py", line 2 in ?
File "gtk\__int__.py c", line 12, in ?
File "gtk\_gtk.p yc", line 12, in ?
File "gtk\_gtk.p yc", line 10, in __load
ImportError: No module named cairo
I have similar problem with all compiled .exe using gtk library.
I want to add, that when I launch *.py file directly , everything works
great.
Detailed information :
System : Windows 2003 with SP1
Python 2.4.4
gtk-2.10.6-win32-1
gtk-dev-2.10.6-win32-1
py2exe-0.6.5.win32.py. 2.4
pycairo-1.0.2-1.win32.py.2.4
pygtk-2.8.6-1.win32-py2.4
MySQL-python.exe-1.2.1_p2.win32-py2.4
And most important thing , I'm newbie :)
My source code http://www.moha.pl/mysql_gui.py
Thanks in advance for any suggestion
--
Micha³ Kuliñski
Poland 2 5169
Michax wrote:
Hi,
I have problem with my py2exe. When I want to run my compiled exe, then
i get error information like that:
Trackback (most recent call last):
File "mysql_gui. py", line 2 in ?
File "gtk\__int__.py c", line 12, in ?
File "gtk\_gtk.p yc", line 12, in ?
File "gtk\_gtk.p yc", line 10, in __load
ImportError: No module named cairo
I have similar problem with all compiled .exe using gtk library.
seen this: http://www.py2exe.org/index.cgi/Py2exeAndPyGTK
?
</F> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: duikboot |
last post by:
Hi all,
I've tried to create a .exe file on linux (Fedora).
So in installed wine, python2.3 with wine and py2exe (with wine ofcourse)
I made a setup file (setup.py) and ran
>wine python.exe setup.py py2exe
Does anybody know what I've done wrong? Or is it just not possible
|
by: ex laguna |
last post by:
Hi, I have ran into a problem with py2exe 0.5.0 and shelve in python
2.3.3. The script works fine standalone, but not with py2exe.
Does anyone have a solution of workaround for this? Thanks much.
# Begin of setup.py
from distutils.core import setup
import py2exe
setup(console=)
|
by: Peter Teniz |
last post by:
hi, i'm trying to generate a service for win XP / win 2k with
python2.3.3 + win32all-163 + py2exe0.5.0
(also tried with pywin32-200.win32-py2.3)
running the console-script "FBxmlserv.py" with python-interpreter and as
EXE-prog goes well.
running the service-module "FBservice.py" with python-interpreter also
works fine
but after comiling with py2exe (with no warnings or errors!) i get on
every host the same error message
|
by: Szucs Szabolcs Laszlo |
last post by:
Hello,
I do `python setup.py py2exe --exclude=OpenGL --includes=Tkinter'.
It runs, OK. No error messages. I copy the whole
OpenGL dir. next to the .exe file.
When I run the .exe, it don't find the OpenGL module. Why?
THX
|
by: shane.external |
last post by:
I'm having trouble using Py2exe with a PyQT-based python project. Or
possibly I'm having a problem with PyQT and Py2exe makes it apparent.
Whichever it is, I run into trouble with importing QtCore and QtGui.
The error reported is:
Traceback (most recent call last):
File "xmlEdit.py", line 3, in ?
File "PyQt4\QtCore.pyc", line 12, in ?
File "PyQt4\QtCore.pyc", line 10, in __load
ImportError: DLL load failed: Invalid access to memory...
| |
by: Isaac Rodriguez |
last post by:
Hi,
I am looking for feedback from people that has used or still uses
Py2Exe. I love to program in python, and I would like to use it to
write support tools for our development team, but I cannot require
everyone to install python in their machines, so I was thinking that
Py2Exe would help on that.
The support tools I write are mostly command line driven (no GUI), but
in the future, I would like to write some expert applications that...
|
by: Michax |
last post by:
Hi,
I have problem with my py2exe. When I want to run my compiled exe, then
i get
error information like that:
Trackback (most recent call last):
File "mysql_gui.py", line 2 in ?
File "gtk\__int__.pyc", line 12, in ?
File "gtk\_gtk.pyc", line 12, in ?
|
by: vedrandekovic |
last post by:
Hello,
Now,I was install python 2.5 and remove python 2.4 completely.After I
write:
$ python mysetup.py py2exe
........
import py2exe_ util
ImportError: Module use of conflicts with this version of Python
....ok, I know what is a problem, I haven't remove python completely,
|
by: ilochab |
last post by:
I wrote an application that uses PyQt4 to access a sqlite DB.
Now I'm trying to convert it using py2exe and I found some problems.
The last one, that I'm not able to avoid, is that when I launch the
application's binary on a PC (that contains only a Python 2.5
installation and no QT4) I get an error trying to open the DB withi
this code:
db = QtSql.QSqlDatabase.addDatabase("QSQLITE")
db.setDatabaseName(defines.DB_FILE)
|
by: Chriskim |
last post by:
Hi I am having a very difficult time makine executable file using Py2exe. This program uses "matplotlib" to generate graphs and I think this is causing the errors
What extra codes are necessary to make this work??
Here is what error said...
Traceback (most recent call last):
File "real_test.py", line 7, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "matplotlib\__init__.pyc", line 709, in <module>
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |