Install python and related dependencies