Thanks. I did as you suggested, and also increased the number of attempts to 25 (line 959):
def _retry_operation(func, *args, max_attempts=25): But it still timed out. So I temporarily turned off my anti-virus software (Bitdefender) and it worked. The strange thing is that even with my AV software turned off, it still had to make as many as 18 attempts before successfully doing whatever it's doing. So maybe there's something else going on that's causing the delay. On Tuesday, May 21, 2024 at 7:54:13 AM UTC-4 bwoodsend wrote: > That retry logic is trying to accommodate for security scans that > intercept the EXE that PyInstaller is midway through building and > temporarily block PyInstaller’s access to it. I guess the easiest thing to > try would be to increase the timeout (e.g. change the first 1 > <https://github.com/pyinstaller/pyinstaller/blob/5c8de5b1d389a6ee88f6f2b9d865be42bde3cfc0/PyInstaller/building/api.py#L1012> > > to a 5. > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/cf5c0035-8fbc-418e-8b8b-ae2482d49935n%40googlegroups.com.