The way that the python environment is set up for scripts/entrypoints (by modifying sys.path with site.addsitedir) is not inherited with multiprocessing (when spawn is used) Basically, because the ...