upgrade pip Error

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/usr/local/lib/python3.6/dist-packages/pyparsing.py’
Consider using the --user option or check the permissions.

How is this resolved?
Thanks
-W

Just check the permissions or run as root.