Docker Elastic Beanstalk 无法安装 Dash

问题描述

我正在尝试构建 docker contianer,以便在 AWS Elastic Beanstalk 上部署我的 Dash 应用程序。我的项目包含包 <mat-dialog-content> <form> <mat-form-field></mat-form-field> </form> </mat-dialog-content> 。在构建时,我不断收到以下错误

import requests

url = "http://192.168.0.18:4430/titan/set/2/Panel/Screen/LampIntensity"

payload="100"
headers = {
  'Content-Type': 'text/plain'
}

response = requests.request("POST",url,headers=headers,data=payload)


多个消息来源表明可以通过在安装要求之前更新 dash-1.19.0解决错误。我在 dockerfile 中包含了这一步,但一直收到错误消息。

我的 dockerfile 如下所示:

error in dash setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
Complete output from command python setup.py egg_info: /usr/local/lib/python3.4/distutils/dist.py:260: UserWarning: UnkNown distribution option: 'python_requires'

我的 requirements.txt 如下所示:

setuptools

非常感谢您的帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)