Author craigneuro
Recipients craigneuro
Date 2008-06-27.13:13:58
SpamBayes Score 1.11577e-06
Marked as misclassified No
Message-id <>
This is observed on Windows XP; I don't know if it affects other platforms.

Trying to import sqlite3 gives this error:
>>> import sqlite3

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    import sqlite3
  File "C:\Python26\Lib\sqlite3\", line 24, in <module>
    from dbapi2 import *
  File "C:\Python26\lib\sqlite3\", line 27, in <module>
    from _sqlite3 import *
ImportError: DLL load failed: The specified module could not be found.

A look at the dependencies for _sqlite3.pyd shows that it's trying to
link to a file called sqlite3.pyd, which doesn't exist.  Renaming
sqlite3.dll to sqlite3.pyd doesn't work either, because then "import
sqlite3" causes Python to try to import that file as a Python module
(instead of C:\Python26\Lib\sqlite3\

In Python 2.5.2, the _sqlite3.pyd module correctly links to sqlite3.dll.

If there's already an issue regarding this I couldn't find it.
Date User Action Args
2008-06-27 13:14:02craigneurosetspambayes_score: 1.11577e-06 -> 1.11577e-06
recipients: + craigneuro
2008-06-27 13:14:02craigneurosetspambayes_score: 1.11577e-06 -> 1.11577e-06
messageid: <>
2008-06-27 13:14:01craigneurolinkissue3215 messages
2008-06-27 13:13:59craigneurocreate