On Friday 17 December 2010 13:01:09 Simon Leung wrote: > Hi all, > > I'm just starting to use PySide. Unfortunately my application will > have to run on Windows, with a .exe file. So I tried to use cx_freeze > to package pyside examples -- the one I tried was classwizard.py. So > I simply tried > cx_freeze classwizard.py --base-name Win32GUI > After it's done, I run the classwizard.exe and got the following > error: > > > File "C:\Python27\lib\site-packages\cx_Freeze\initscripts > \Console.py", line 27 > , in <module> > exec code in m.__dict__ > File "classwizard.py", line 8, in <module> > File "C:\Python27\lib\site-packages\PySide\__init__.py", line 2, in > <module> > import private > File "C:\Python27\lib\site-packages\PySide\private.py", line 1, in > <module> > import atexit > ImportError: No module named atexit
atexit module exists in Python since Python 2.0, so my guess is that your Python installation may be broken. > > Changing the python script to use PyQt4 instead of PySide and it works > fine. > > Thanks for any input. -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
