Python: Unresolved import error for sqlite3 in PyDev in Eclipse
Question: import sqlite3 generates:

    
    
    Unused import: sqlite3
    Unresolved import: sqlite3
    sqlite3 Found at: DatabaseTests
    
    import sqlite3
    

However, this works perfectly in the terminal when using the python command-
line.

I am running on a Mac Mountain Lion, with the default installation of Python.
I am using PyDev in Eclipse Indigo.


Answer: This is a very old thread but I don't see the solution I found for this
problem so I'll post it in hopes that somebody sees this and can then solve
the problem:

you need to add 'sqlite3' (without the quotatios) in the 'forced builtins' tab
in Window>Preferences>PyDev>Python Interpreter

