Problem with python3 command in vmware virtual box ubantu server

I was trying the “sudo python3 --version” command but my virtual machine ubantu server showed a error saying that python3 command is not installed. So i again ran the “sudo apt-get install python3-minimal” command but then it showed error showing “e; unable to locate python3.” Anybody help me to get out of this. THANKS!

Hello @singhankit1582
First run

sudo apt-get -y update

than run

sudo apt install python3-pip

Hope this commands are useful to install python in your ubuntu.

It solved the problem. But not the python3-pip command. Instead of it the “sudo apt-gat install python-minimal” worked.
Thanks again

1 Like

yes it worked thanks!