Enhance the python app to auto install pip packages and better error management.