When I type the command
pip
it works fine (gives me a help page). But when I type the command
sudo pip
it gives me the response
sudo: pip: command not found
whereas for example 'sudo python' works fine. How is this situation possible? I am not very familiar with what is going 'behind the scenes' when I invoke a command with sudo