You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Check OS, as multiprocessing may not work properly on Windows and macOS"""
if bypass is True:
return
os_name = system()
if os_name in ['Windows']:
print("It seems that you are running this code from {}, on which the Python multiprocessing may not work properly. Consider running this code on Linux.".format(os_name))
print("Exiting..")
exit()
else:
print("Linux is fine! Python multiprocessing works.")