In my MacOS Mojave terminal I wanted to install a python package with pip. At the end it says:
You are using pip version 10.0.1, however version 18.1 is avai
Regarding the permissions command, try using sudo in front of your terminal command:
sudo pip install --upgrade pip
Sudo is a program that allows you to run the command with the privileges of the superuser.
Regarding the python Try running pip as an executable like this:
python3.6 -m pip install