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
If you don't want to recompile Python and you're going to be using a virtualenv, you can do this to set it up without affecting the system as a whole (I've done this with Ubuntu 16):
Run the following commands:
./configure
sudo make install
Now you need to edit the activate script used to start the virtualenv so that python looks in the right place for the newly installed SQLite. Simply add the following line at the top of the file:
export LD_LIBRARY_PATH="/usr/local/lib"
Now, when active, Django 2.2+ should work fine in the virtualenv. Hope that helps.