我已经安装了AWS CLI,并尝试在Mac OS Sierra上使用它.它抱怨没有模块colorama:
$aws
Traceback (most recent call last):
File "/usr/local/bin/aws", line 19, in
import awscli.clidriver
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 26, in
from awscli.formatter import get_formatter
File "/Library/Python/2.7/site-packages/awscli/formatter.py", line 19, in
from awscli.table import MultiTable, Styler, ColorizedStyler
File "/Library/Python/2.7/site-packages/awscli/table.py", line 18, in
import colorama
ImportError: No module named colorama
所以我尝试安装它,它说已满足要求:
$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