I have django 1.4 installed on my rhel 5. By default rhel 5 has python 2.4 in it but to use django 1.4 I manually installed python 2.7.3 The development server is running fine b
MordicusEtCubitus's answer is correct. Can't upvote you yet as am a newbie.
Just to add to your answer, on fedora(23) run the following command to install instead.
sudo dnf install libsqlite3x-devel libsqlite3x