I am trying to run the Matrix Synapse chat server by following this tutorial: https://www.informaticar.net/install-matrix-synapse-on-centos-8/
It uses virtualenv to separate out python packages for this installation.
However when I start the server it complains about sqlite being too old. So as not to get blocked I switch to using postgres as a backend, however I wonder what's the best way to point virtualenv and python and pip to the right version of sqlite. It looks like sqlite is already installed system-wide (Package sqlite-3.7.17-8.el7_7.1.x86_64 already installed and latest version) and I was only able to fetch a fairly old version of sqlite wrapper with pip:
pip install -U pysqlite3
Collecting pysqlite3
Using cached pysqlite3-0.4.6.tar.gz
WARNING: Legacy build of wheel for 'pysqlite3' created no files.
Running setup.py clean for pysqlite3
Failed to build pysqlite3
- What is the recommended way to link/point virtualenv to the correct/recent version of sqlite?
- How do I verify which version of sqlite is configured for the current virtualenv?
Thank you very much in advance.