How to upgrade sqlite 3.8.2 to >= 3.8.3

前端 未结 5 1201
我寻月下人不归
我寻月下人不归 2020-12-15 09:48

In a virtual Env with Python 3.7.2, I am trying to run django\'s python manage.py startap myapp and I get this error:

raise ImproperlyConfigured         


        
5条回答
  •  -上瘾入骨i
    2020-12-15 10:29

    I have applied the following fix and it worked for my CentOS 7.x server.

    Edit /usr/lib64/python3.6/site-packages/django/db/backends/sqlite3/base.py file as per the below example:

    def check_sqlite_version():
    # if Database.sqlite_version_info < (3, 8, 3):
    # 2018-07-07, edit
    if Database.sqlite_version_info < (3, 6, 3):
        raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version)
    

提交回复
热议问题