Attribute error while using win32com.client library to fetch outlook mails

25 views
Skip to first unread message

abhishek akkannavar

unread,
May 16, 2022, 8:40:49 AM5/16/22
to PyInstaller
Hi,
I have a python script that fetches mails from the outlook application using win32com.client library. It is working as expected when run from command line. But when this script is bundled and the .exe is run, Attribute error is thrown. I am not getting how to proceed ahead. Any help would be really appreciated.

I have used pyinstaller --onefile command to build the app.

Attaching the screen shot of the error.
mail_error.PNG
Thank you.

abhishek akkannavar

unread,
May 17, 2022, 8:36:09 AM5/17/22
to PyInstaller
mail_error.PNG
Reply all
Reply to author
Forward
0 new messages