1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).に半日くらい悩まされた話(備忘録)

Last updated at Posted at 2021-10-02

経緯

バックエンド初心者がDjangoプロジェクトをAWS上で動かすべく
こちらの記事を参考にサーバーの設定を行なっていた際に遭遇したエラー
下のコードが実行できず、

$ gunicorn your_project.wsgi --bind=0.0.0.0:8000

SQLiteのバージョン3.9.0以降が必要です。(3.7.17が見つかりました)というエラーが出る。

django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).

試したこと

エラー文でググってヒットしたページを上から順に試して行った

結果

対処療法的ではあるが、3つ目の記事 [Djangoのバージョンを下げること]
(https://stackoverflow.com/questions/55674176/django-cant-find-new-sqlite-version-sqlite-3-8-3-or-later-is-required-found)で解消された

下げるというより古いバージョンのDjangoをインストールする形で解決できた

$ pip install Django==2.1.*
1
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?