gpt4 book ai didi

aws-cli - AWS CLI-所有命令返回未知输出类型:[无]

转载 作者:行者123 更新时间:2023-12-04 22:27:59 25 4
gpt4 key购买 nike

我所有的aws-cli命令都返回了


未知的输出类型:[无]


我检查了我的配置


$ aws配置


看起来很正常,但是我无法编辑“默认输出格式”

我用--debug运行了aws-cli命令,并看到了

MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 208, in main
return command_table[parsed_args.command](remaining, parsed_args)
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 345, in __call__
return command_table[parsed_args.operation](remaining, parsed_globals)
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 517, in __call__
call_parameters, parsed_globals)
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 638, in invoke
self._display_response(operation_name, response, parsed_globals)
File "/Library/Python/2.7/site-packages/awscli/clidriver.py", line 657, in _display_response
formatter = get_formatter(output, parsed_globals)
File "/Library/Python/2.7/site-packages/awscli/formatter.py", line 272, in get_formatter
raise ValueError("Unknown output type: %s" % format_type)
ValueError: Unknown output type: [None]

最佳答案

$aws configure
press Enters
see the "Default output format [None]:"
input one of "json, text or table "(all in lower case)
after that rerun your command.

关于aws-cli - AWS CLI-所有命令返回未知输出类型:[无],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48654560/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com