小编Ben*_*ker的帖子

Elastic Beanstalk Deploy ERROR:AttributeError ::'NoneType'对象没有属性'split'

当我尝试部署到我的Elastic Beanstalk环境时,我收到此python错误.几天前一切都很好.

$ eb deploy
ERROR: AttributeError :: 'NoneType' object has no attribute 'split'
Run Code Online (Sandbox Code Playgroud)

到目前为止,我已尝试通过发出以下命令来更新所有内容:

sudo pip install --upgrade setuptools
Run Code Online (Sandbox Code Playgroud)

sudo pip install --upgrade awscli
Run Code Online (Sandbox Code Playgroud)

以下是我正在使用的结果版本:

$ eb --version
EB CLI 3.10.0 (Python 2.7.1)

$ aws --version
aws-cli/1.11.56 Python/2.7.13rc1 Darwin/16.4.0 botocore/1.5.19
Run Code Online (Sandbox Code Playgroud)

在eb状态下一切看起来都很好

$ eb status
Environment details for: ***
  Application name: ***
  Region: us-west-2
  Deployed Version: ***
  Environment ID: ***
  Platform: 64bit Amazon Linux 2016.09 v3.3.1 running Node.js
  Tier: WebServer-Standard
  CNAME: ***.us-west-2.elasticbeanstalk.com
  Updated: 2017-03-02 14:48:29.099000+00:00
  Status: Ready
  Health: Green …
Run Code Online (Sandbox Code Playgroud)

python macos amazon-web-services amazon-elastic-beanstalk

2
推荐指数
2
解决办法
1450
查看次数