Reputation: 137
How can I use sqlite3 in pycharm?
I found out that sqlite3 is basically included in standard library. However, when I try to import it, the module is not found.
import sqlite3 << this returns a import error.
Is sqlite3 module name different in pycharm?
Upvotes: 0
Views: 6356
Reputation: 162
Putting answer for anyone who lands on this page searching for a solution for Windows OS:
For me the issue was with DLL file of sqlite3. Solution:
I took DLL file from sqlite site. This might vary based on your version of python installation.
I pasted it in the DLL directory of
the env. for me it was "C:\Anaconda\Lib", but check for yours.
Upvotes: 1