Hello all,
I have a strange looping error with processpoolexectuor() function of python.
I am running machine learning in one of the pages of Dash multipage app. I am using processpoolexectuor to do certain task to save time.
Unfortunately the looping of processpoolexecutor doesn’t seem to exit the loop at all.
my code structure is somewhat like this:
layout=()
callbacks(all input and output)
Def():
def():
def()
-
procsspoolexectuor()*
-
returnrepeated tasks on df* return df
return
This above structure goes in infinite loop and doesn’t end.
whereas if I just copy paste the below code the outside the main callback function, it executes as intended. and exits the loop
def()
-
procsspoolexectuor()*
-
repeated tasks on df*
return df
Can someone throw light is to why, I am getting this looping error. Is there any relation between processpoolexector and main call back function?
In either case I am unable to build an exe file. as it get stuck here
Please note: I am trying to build exe file which throwing error at same place as in code level
Thanks in advance:)