#normally caused by python conflicts
$ sudo nano /usr/bin/gnome-terminal
#add correct version of python to the first line i.e change
#!/usr/bin/python3
#to
#!/usr/bin/python3.5
Nb: dnt use python3.6 in ubuntu 16(it breaks the default terminal)