using python to do the installation