Corrupted node-red hangs immediately - added 'python' node seems to be to blame

If you need to run a python script from node red I think the best way is to use an Exec node to run it. Make sure you specify the full path to the python interpreter and to the script file.