ImportError: DLL load failed while importing matlabruntimeforpython3_9

Solution:

The python39.dll needs to be added to the user PATH variable.

If needed, see the page linked here for instructions: https://gist.github.com/nex3/c395b2f8fd4b02068be37c961301caa7.