Hello,
I'm running a simple Python 2.5 script that reads an Outlook inbox
using win32com:
import win32com.client
outlook =
win32com.client.gencache.EnsureDispatch("Outlook.Application")
namespace = outlook.GetNamespace ("MAPI")
inbox =
namespace.GetDefaultFolder(win32com.client.constants.olFolderInbox)
for i in range (inbox.Items.Count):
message = inbox.Items[i+1]
print message.Subject
The setup process involves running makepy.py in order to pull
configuration data for Outlook.
It runs fine from the original .py file. After running Pyinstaller,
running the resulting exe gives the message "ImportError: No module
named win32com.gen_py.00062FFF-0000-0000-C000-000000000046X0X9X3"
There is a \support\gen_py directory in the distribution directory,
but obviously something isn't working right ... Do I need to move any
files to the distribution directory, etc.?
Thanks!
Kevin
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.