add try:/except: for importing sqlite3.