473,395 Members | 1,869 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,395 software developers and data experts.

py2exe Problem with cairo

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 ?
File "gtk\_gtk.pyc", 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

Dec 9 '06 #1
2 5149
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__.pyc", line 12, in ?
File "gtk\_gtk.pyc", line 12, in ?
File "gtk\_gtk.pyc", 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>

Dec 9 '06 #2
seen this:
>
http://www.py2exe.org/index.cgi/Py2exeAndPyGTK
Thanks ,I will check this one .

Sorry for double post.

Dec 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
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...
0
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...
1
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...
1
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...
1
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...
9
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...
0
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...
4
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...
0
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...
1
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...
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: 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?
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
Oralloy
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,...
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...

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.