More robust Python install script 2