Issues with PyStan, multiprocessing and subsequently the PyStan3 pre-release on Mac OS Catalina

I noted down this change to myself when I managed to fix it:

Need to edit matplotlib 's font_manager.py to get multiprocessing to work correctly on Mac OS Catalina. Change

if hasattr(os, "register_at_fork"):
    os.register_at_fork(after_in_child=_get_font.cache_clear)

To:

if hasattr(os, "register_at_fork"):
    os.register_at_fork(before=_get_font.cache_clear)
1 Like