From the error description it still looks like the Windows fork/spawn issue.
Did you make sure to wrap your complete code into a function and call it in the guard:
def main():
    # your complete code

if __name__=='__main__':
    main()