Move the creation of the Python virtual environment outside the KAS install function so that the user of the script doesn't wonder wtf is going wrong with his install.