I apologise for any technical incorrectness, I am a complete beginner in bioinformatics with really limited linux knowledge. I have the following problem – accidentally deleted python3.5 from my vm Ubuntu 16.04. Upon doing that, all my files went with it and I knew something was very wrong. I know understand that python 2.7 and 3.5 are default for my Ubuntu version and it was a bad idea.
I currently have python 2.7 and 3.7 in urs/bin, python 3 in linuxbrew/bin. However, I cannot run any packages depending on python version =>3.5. I tried to fix this by running sudo apt-get install python3-all this returns too many errors etc because python3 depends on python 3.5 and vice versa, catch 22 situation. I spoke to a family friend who works in the area of computer science, but not with ubuntu, and he suggests to delete all versions of python 3 (3 and 3.7.7 in my case) and start new installs. The issue with that is, I have seen a post from someone who deleted python3 from Ubuntu (I deleted package 'python3' on Ubuntu and I have lost dashboard, terminal and Unity. Help me to restore my data please) and they lost the dashboard, terminal and Unity. I am anxious to do that. In addition, I am not sure python 3.7 has installed fully with all dependencies.
What is the best way to approach this?
Thank you very much in advance.
EDIT: This is the output from sudo apt-get install python3-all and sudo apt-get install software-center as suggested solutions in Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work. Is it a good idea to run sudo apt-get remove python3 first followed by sudo apt-get install python3? I am so scared to do that in case I lose the terminal as in the previous post of the person who removed python3.