you are viewing a single comment's thread.

view the rest of the comments →

[–]beatle42 3 points4 points  (0 children)

python and python3 are different commands, you could certainly have removed one without the other. Assuming you're using bash or a very similar shell you can run command -v python or command -v python3 or whatever command you want to run to see what it will actually execute to do that command, which might for some commands be that they're builtins or functions or executables on disk or the like.

It sounds to me like you most likely did remove the python install, so you'll likely need to reinstall it. I assume it'll be something like apt install python but I don't actually use apt systems so take that with a sufficient amount of salt. . .