Python build failed when trying to install Cayenne

Hello sir,
can you try with:
sudo apt-get -f install
sudo apt-get dist-upgrade