Hi, Everyone, I have been trying to interact with the sqlite3 database on Pycharm, every time I run the code it gives me an import error.
Traceback (most recent call last):
File ".\file.py", line 1, in <module>
import sqlite3
File "C:\Users\Dell\anaconda3\lib\sqlite3\__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "C:\Users\Dell\anaconda3\lib\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: DLL load failed: The specified module could not be found.
(venv) C:\Users\Dell\PycharmProjects\interact_with_database>
I also tried to use pip to install sqlite3, it does not work too, I get a different error.
(venv) C:\Users\Dell\PycharmProjects\interact_with_database>pip install sqlite3
Collecting sqlite3
Could not find a version that satisfies the requirement sqlite3 (from versions: )
No matching distribution found for sqlite3
(venv) C:\Users\Dell\PycharmProjects\interact_with_database>
Does anyone know how I can solve this problem?