Cannon在我的本地Windows计算机上安装AWS CodeDeploy代理

时间:2018-09-07 22:42:23

标签: amazon-web-services aws-code-deploy

我正在尝试在本地Windows计算机上安装AWS CodeDeploy代理,这是我得到的:

aws deploy install --override-config --config-file codedeploy.onpremises.yml
Creating the on-premises instance configuration file... DONE
Installing the AWS CodeDeploy Agent... ERROR
a bytes-like object is required, not 'str'
Install the AWS CodeDeploy Agent on the on-premises instance by following the instructions in "Configure Existing On-Premises Instances by Using AWS CodeDeploy" in the AWS CodeDeploy User Guide.

注意上面第3-4行的错误:

Installing the AWS CodeDeploy Agent... ERROR
a bytes-like object is required, not 'str'

我应该注意,我可以为CodeDeploy成功注册机器,并且可以在AWS控制台-> CodeDeploy->本地实例上看到注册

以下是环境的详细信息:

  • 本地实例操作系统: Windows Server 2016 Standard Evaluation
  • 系统类型: 64位操作系统,基于x64的处理器
  • python --version: 3.6.5
  • pip --version: 9.0.3
  • aws --version: aws-cli / 1.16.9 Python / 3.6.5 Windows / 10 botocore / 1.11.9

该如何解决该错误?

0 个答案:

没有答案