Elastic Beanstalk-django.core.exceptions.ImproperlyConfigured:需要SQLite 3.8.3或更高版本(发现3.7.17)

时间:2020-06-19 15:03:45

标签: python django amazon-web-services sqlite amazon-elastic-beanstalk

具有Python 3.6和Amazon Linux 1的Elastic Beanstalk。Django 3.0.7。

尝试使用eb create django-env创建环境,我得到:

Command failed on instance. Return code: 1 Output: (TRUNCATED)...backends/sqlite3/base.py", line 63, in check_sqlite_version
raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version)
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).
container_command 01_migrate in .ebextensions/02_setup.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

已阅读降级django可以解决此问题,但是我需要一个最新的django版本,以便它可以与django频道一起使用。有任何简单的升级SQLite的方法吗?

0 个答案:

没有答案