Note that there are some explanatory texts on larger screens.

plurals
  1. PONo module named _sqlite3
    primarykey
    data
    text
    <p>I am trying to run a <a href="http://en.wikipedia.org/wiki/Django_%28web_framework%29" rel="noreferrer">Django</a> app on my <a href="http://en.wikipedia.org/wiki/Virtual_private_server" rel="noreferrer">VPS</a> running <a href="http://en.wikipedia.org/wiki/Debian#Releases" rel="noreferrer">Debian</a> 5. When I run a demo app, it comes back with this error:</p> <pre><code> File "/usr/local/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/usr/local/lib/python2.5/site-packages/django/db/backends/sqlite3/base.py", line 30, in &lt;module&gt; raise ImproperlyConfigured, "Error loading %s: %s" % (module, exc) ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3 </code></pre> <p>Looking at the Python install, it gives the same error:</p> <pre><code>Python 2.5.2 (r252:60911, May 12 2009, 07:46:31) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import sqlite3 Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/usr/local/lib/python2.5/sqlite3/__init__.py", line 24, in &lt;module&gt; from dbapi2 import * File "/usr/local/lib/python2.5/sqlite3/dbapi2.py", line 27, in &lt;module&gt; from _sqlite3 import * ImportError: No module named _sqlite3 &gt;&gt;&gt; </code></pre> <p>Reading on the web, I learn that Python 2.5 should come with all the necessary <a href="http://en.wikipedia.org/wiki/SQLite" rel="noreferrer">SQLite</a> wrappers included. Do I need to reinstall Python, or is there another way to get this module up and running? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload