I'm running Ubuntu 18.04.4 LTS and encountered an issue where after updating my Python from 3.6 to 3.7.5 my terminal keyboard shortcut stopped working and clicking on the terminal icon wouldn't get it to run.
I found a solution on StackExchange but I have no idea why it worked and I would love to understand why. You can find the link below and the solution was
This way the upgrade to 3.7 is useless. You should edit the gnome-terminal file:
Open a terminal and issue the following commands:
cd /usr/bin
sudo nano gnome-terminal
Change #!/usr/bin/python3 to #!/usr/bin/python3.6.
This way you can still use the power of 3.7 and solve the issue with the terminal.
Could anyone try to explain what happened when I did this and why it worked? Would love to know for when I need to upgrade it again! Thank you!
Source: Terminal not opening up after upgrading python to 3.7