“freeze support”


Some people are getting “freeze support” error messages when they try to do batch runs for the ABM II homework. I have little idea what this means, but the following fix was discovered that at least worked for two people:

In your code, first import:

from multiprocessing import freeze_support

Then, before you call batch_run(), put this code:

if __name__ == "__main__":
    freeze_support()
    ...the rest of your code goes indented under here...

So the call to batch_run() and everything after it goes into an if statement with the above crazy condition on it. Try this to fix your freeze errors, and if that doesn’t make things work, send me email.