mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 04:05:49 +03:00
[GH-ISSUE #301] win32com error #264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arcontechnologies on GitHub (Aug 14, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/301
Hi,
I'm new to this tool and followed a tutorial but failed to get it up and running.
My environment :
auto-py-to-exe command :
pyinstaller --noconfirm --onedir --console --debug "all" --add-data "D:/robot_install/data;data/" --add-data "D:/robot_install/emails_traites;emails_traites/" --add-data "D:/robot_install/libraries;libraries/" --add-data "D:/robot_install/log;log/" --add-data "D:/robot_install/model;model/" --add-data "D:/robot_install/templates;templates/" --hidden-import "win32com" --hidden-import "win32comext" --hidden-import "win32ctypes" "D:/robot_install/robotscheduler.py"Issue Description :
my robotscheduler work fine when executing related .py. But when using auto-py-to-exe it triggered an error related to win32com :
and then I copied manually the win32com from anaconda env and got this error :
any insight on this ?
@brentvollebregt commented on GitHub (Aug 15, 2022):
Looks similar to #46 - try adding win32api to the --hidden-import input field in the advanced tab
@arcontechnologies commented on GitHub (Aug 15, 2022):
Actually it turned out that when my OutLook client is open it triggers this error. I tested it with Outlook closed and no issue so far. Seems this one one is acting as an exclusive open.
For those who encounter this error. try first to execute the program with Outlook client closed.