Configuring Ubuntu for deep learning with Python