Problem scenario
You run an “aws” command but you receive an error message such as this:
Traceback (most recent call last):
File “/usr/bin/aws”, line 4, in <module>
import pkg_resources
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 3007, in <module>
What should you do?
Solution
1. Install pip. If you need assistance, see this posting (especially the “Problem scenario” paragraph with hyperlinks based on distribution families of Linux).
…
Continue reading “How Do You Troubleshoot the AWS CLI Error “Traceback … import pkg_resources”?”