Skip to content

Instantly share code, notes, and snippets.

@lucianopaz
Created November 27, 2018 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucianopaz/ddda9f84337c503371a8088e262eb5e9 to your computer and use it in GitHub Desktop.
Save lucianopaz/ddda9f84337c503371a8088e262eb5e9 to your computer and use it in GitHub Desktop.
Notebook that gets a BrokenPipeError raised on windows. Sometimes, this is caused because the multiprocessing backend in windows creates an entirely new process instead of forking it, so it needs an if __name__ == "__main__" statement that encloses the process pool
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment