[python] added some error checking to display python load errors