fir3net

PPS-Firenetbanner-780.5x190-30-03-17

Python 2.7.5 : ImportError: No module named _sqlite3

After compiling Python 2.7.5 you may find yourself being unable to to import sqlite3 and receiving the following error message,

ImportError: No module named _sqlite3

Solution

  1. Install sqlite-devel via 'yum install sqlite-devel'
  2. Recompile Python.

Note : Details on how to compile Python can be found within the following article.