Installing myDevices on Raspberry Pi Jessie fails

The first code
sudo bash rpi_jgvtdysys2.sh -v
was from https://cayenne.mydevices.com/ when you click add new after doing the down load

The apt-get update etc was from another Cayenne community thread for the same/similar issue.

First additional script was from
https://community.mydevices.com/t/python-build-failed-when-trying-to-install-cayenne/3966/2

Another was from
https://community.mydevices.com/t/python-build-failed-when-trying-to-install-cayenne/3966/5

I hope this is the info you requested.
Many thanks