<p>I'm running Python 2.6 on Unix and when I run the interactive prompt (<a href="http://en.wikipedia.org/wiki/SQLite" rel="noreferrer">SQLite</a> is supposed to be preinstalled) I get:</p>

<pre><code>[root@idev htdocs]# python
Python 2.6 (r26:66714, Oct 23 2008, 16:25:34)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import sqlite
Traceback (most recent call last):
File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named sqlite
&gt;&gt;&gt;
</code></pre>

<p>How do I resolve this?</p>

```
```
import sqlite3
```
```
sqlite3
- DB-API 2.0 interface for SQLite databases.
You are missing the
```
.so
```
(shared object) - probably an installation step. In my Linux python installation,
```
_sqlite3
```
is at:
```
```
${somewhere}/lib/python2.6/lib-dynload/_sqlite3.so
```
```