Skip to content

Commit

Permalink
fix a bug: multiprocessing raise error above python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
guofei9987 committed Apr 3, 2021
1 parent 3417437 commit b1f147a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sko/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
from types import MethodType, FunctionType
import warnings
import sys
import multiprocessing

multiprocessing.set_start_method('fork')


def set_run_mode(func, mode):
Expand Down

0 comments on commit b1f147a

Please sign in to comment.