You want to upgrade the AWS Elastic Beanstalk CLI tool using pip on Mac El Capitan like this…
pip install --upgrade awsebcli
…and got this?
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
and an error which looks like this?
OSError: [Errno 1] Operation not permitted: ‘/tmp/pip-60cnQx-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info’
You can fix this using
pip install --upgrade awsebcli --ignore-installed six