File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1111.. _PlotPyStack: https://github.com/PlotPyStack
1212"""
1313
14+ import multiprocessing
1415import os
1516
17+ # Set multiprocessing start method to 'spawn' early to avoid fork-related warnings
18+ # on Linux systems when using Qt and multithreading. This must be done before
19+ # any multiprocessing.Pool is created.
20+ try :
21+ multiprocessing .set_start_method ("spawn" )
22+ except RuntimeError :
23+ # This exception is raised if the method is already set (this may happen because
24+ # this module is imported more than once, e.g. when running tests)
25+ pass
26+
1627__version__ = "0.21.0"
1728__docurl__ = __homeurl__ = "https://datalab-platform.com/"
1829__supporturl__ = "https://github.com/DataLab-Platform/DataLab/issues/new/choose"
You can’t perform that action at this time.
0 commit comments