may have been in progress in another thread when fork() was called

macOS python 中多进程报错,解决:

1
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES