#30522: How to use Custom install Sqlite3 in Django
-+-
Reporter: Ananthraj | Owner: nobody
Type: | Status: new
Uncategorized |
Component: Database |Version: 2.2
layer (models, ORM)|
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 |Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-+-
I have installed "Python 3.6.2" and " Django 2.2.1", when I tried to do
"python manage.py runserver" and I received error like below:
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is
required (found 3.6.20).
So I have custom installed "SQLite3 3.28.0" then set ENVs for
LD_LIBRARY_PATH and LD_RUN_PATH to use the latest SQLite3. In Shell and
Python IDLE or normal SQL script, am able to access "3.28.0" versions
Sqlite. But when running manage.py, am getting the error below:
conn = Database.connect(**conn_params)
django.db.utils.NotSupportedError: URIs not supported
Please try once the steps I have followed and then to consider to keep or
closing the ticket by referencing "28376"
1. Custom install SQLite3
2. Set env for PATH , LD_LIBRARY_PATH and LD_RUN_PATH
3. Try accessing sqlite3 in Python scripts to check the versions.
If you are able to connect, kindly share the steps to overcome the issue
from our side.
--
Ticket URL: <https://code.djangoproject.com/ticket/30522>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.cb8744efddc5ba05b69f536a53cc0221%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.