Re: sqlite update on CentOS 7 for latest django version

2019-07-18 Thread Tal
Got it. For anyone also trying this, on a fresh CentOS 7 minimal install, do this as root: - yum groupinstall "Development Tools" - yum install tcl - curl -O https://www.sqlite.org/src/tarball/sqlite.tar.gz - tar -xvf sqlite.tar.gz - cd sqlite/ - ./configure - make - cp

Re: sqlite update on CentOS 7 for latest django version

2019-07-18 Thread Tal
Yoo - this is a known problem. It has nothing to do with running "migrate", being in a virtual environment, or settings.py. Jani - I tried compiling the latest Python manually - it was actually super easy - but even with the latest Python,

Re: sqlite update on CentOS 7 for latest django version

2019-07-18 Thread Jani Tiainen
Hi. I think Python has built in version so you might need to build custom version of python. Pyenv is pretty neat tool to handle custom python builds. ke 17. heinäk. 2019 klo 21.36 Tal kirjoitti: > Or is Python's sqlite built into Python, not depending on /usr/bin/sqlite3 > at all? > Would I

Re: sqlite update on CentOS 7 for latest django version

2019-07-17 Thread Yoo
Hm did you first do ./manage.py migrate? Maybe your db.sqlite file doesn't exist... Check! Additionally, if there IS a file that is similar to a db name, like blah.db, make sure in your "database" settings in settings.py points to that file. Sqlite3 isn't old; it's not going away, either. With

Re: sqlite update on CentOS 7 for latest django version

2019-07-17 Thread Tal
Or is Python's sqlite built into Python, not depending on /usr/bin/sqlite3 at all? Would I have to recompile Python for a newer version of sqlite that django can use? PS. I know I can downgrade django. I'm wondering how complex it is to compile a new version of sqlite for it to use. On

sqlite update on CentOS 7 for latest django version

2019-07-17 Thread Tal
When using the latest django from PyPI in CentOS 7, running "./manage.py runserver" gives an error about sqlite being too old. Since there's no newer sqlite version in the CentOS repos, I tried building sqlite from scratch: curl -L https://www.sqlite.org/2019/sqlite-amalgamation-329.tar.gz