[New-bugs-announce] [issue43201] sqlite3 import * ImportError: DLL load failed while importing _sqlite3: The specified module could not be found.
Tyler Reed
report at bugs.python.org
Thu Feb 11 15:23:58 EST 2021
New submission from Tyler Reed <zenskunkworx at gmail.com>:
Running on a new, updated Windows 10 machine with no virtual environment. After removing all previous Python installations, rebooting and performing a fresh install if Python 3.9.1. I run the python console and type:
import sqlite3
I receive the following error:
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python39\lib\sqlite3\__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "C:\Program Files\Python39\lib\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: DLL load failed while importing _sqlite3: The specified module could not be found.
I verified that the sqlite3.dll file does exist in C:\Program Files\Python39\DLLs
----------
messages: 386832
nosy: ZenSkunkworx
priority: normal
severity: normal
status: open
title: sqlite3 import * ImportError: DLL load failed while importing _sqlite3: The specified module could not be found.
type: crash
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43201>
_______________________________________
More information about the New-bugs-announce
mailing list