【发布时间】:2015-01-17 02:12:01
【问题描述】:
.ebextensions 或 requirements.txt 中的 .config 文件首先运行?
为此,我想在requirements.txt 中安装psycopg2,我需要先安装postgresql-devel、python-devel 软件包。
当我创建我的配置设置时
requirements.txt
psycopg2
.ebextensions/mysite.config
packages:
yum:
gcc: []
python-devel: []
postgresql-devel: []
从日志中,我观察到,requirements.txt 首先执行,因此由于未安装先决条件而引发错误。
yum 正在提高
postgresql-devel未在包中找到。
如何解决这些问题?我哪里出错了?
【问题讨论】:
-
嗨,Surya,您找到问题的答案了吗?
标签: python postgresql amazon-web-services amazon-ec2 amazon-elastic-beanstalk