win32ui.pyc can't be found

Terry Acree tea2 at cornell.edu
Wed Jan 11 22:28:55 EST 2006


Using py2exe to bundel a script containing the import

from pywin.mfc import object

on the PC containing the Python installation the exe in the dist folder
works properly. However, when the dist folder is coppied to another PC
an error message is generated:
... win32ui.pyc ?
file could not be found.

Oddly win32ui.pyc is byte compiled by py2exe and a copy was installed in 
the Library.zip and a win32ui.pyd was placed in the dist folder.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060111/94926472/attachment.html>


More information about the Python-list mailing list