Permission denied when installing Pylint on VSCode
You can press ⬆ (up arrow key) in the terminal tab after the install fails to return to the command that it ran. In this case:
/usr/bin/python -m pip install pylint
Press fn+⬅ (left arrow key) to jump to the beginning of the line, then insert a 'sudo ' (no quotes, but including the trailing space) in front of the command, and press enter to re-run the command as root -- it should look like this:
sudo /usr/bin/python -m pip install pylint
You will be prompted for your password then the package will be installed without permissions errors.
Run this command:
sudo chown -R $USER /Library/Python/2.7