aI've installed AWS CLI and am trying to use it on Mac OS Sierra. It complains there is is no module colorama
:
$ aws
Traceback (most recent call last):
File "/usr/local/bin/aws", line 19, in <module>
import awscli.clidriver
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 26, in <module>
from awscli.formatter import get_formatter
File "/Library/Python/2.7/site-packages/awscli/formatter.py", line 19, in <module>
from awscli.table import MultiTable, Styler, ColorizedStyler
File "/Library/Python/2.7/site-packages/awscli/table.py", line 18, in <module>
import colorama
ImportError: No module named colorama
So I try to install it and it says the requirement is already satisfied:
$ sudo pip install colorama
The directory '/Users/danniu/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/danniu/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: colorama in /Users/danniu/Library/Python/2.7/lib/python/site-packages