Many a thanks! Resolved.

from multiprocessing import freeze_support
freeze_support()
<code body>
..................................

for i in tqdm(iterable):
    <for loop body>
................................,.

<code body>
On Sunday, October 30, 2022 at 5:06:28 PM UTC+5:30 bed...@gmail.com wrote:

> Having seen a similar error before, my hunch is that this is related to 
> tqdm's use of multiprocessing – and not *first* calling 
> multiprocessing.freeze_support() in your application. I have not tested 
> this in tqdm's case however.
>
> See e.g. GitHub issue 683
> https://github.com/pyinstaller/pyinstaller/issues/6368
>
> On Sunday, 30 October 2022 at 09:18:36 UTC dsark...@gmail.com wrote:
>
>> The --onedir package (macOS/Catalina) throwing an error while using 
>> 'tqdm' module for an iterable, but no errors while bundling it. Any help, 
>> please.
>
>

-- 
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/07e567b9-dbf0-4117-a20b-6ad60cdbe21bn%40googlegroups.com.

Reply via email to