[Distutils] pysqlite egg problem

Robin Becker robin at jessikat.fsnet.co.uk
Sat Nov 5 13:02:24 CET 2005


I'm trying to follow the Turbogears wiki20, but I came across a problem 
with pysqlite.

First off I am a complete newbie to the easy_setup and egg stuff and 
also have zero knowledge of pysqlite, but assuming that the filename I 
chose didn't have to exist I found that TG's tg-admin sql create failed.

I assumed I needed to get some sort of database set up first so tried 
this to learn about pyslite

C:\Tmp\wiki20>python
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> from pysqlite2 import dbapi2 as sqlite
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File 
"c:\python\lib\site-packages\pysqlite-2.0.6-py2.4-win32.egg\pysqlite2\dbapi2.py", 
line 32, in ?
   File 
"c:\python\lib\site-packages\pysqlite-2.0.6-py2.4-win32.egg\pysqlite2\_sqlite.py", 
line 7, in ?
   File 
"c:\python\lib\site-packages\pysqlite-2.0.6-py2.4-win32.egg\pysqlite2\_sqlite.py", 
line 6, in __bootstrap__
ImportError: DLL load failed: The specified module could not be found.
 >>>

I checked in the egg and the dll is certainly there as 
lib/site-packages/pysqlite2/sqlite3.dll

I have quite a few non egg packages installed so perhaps I have some 
wrong version of something on the path. What should I be looking for?
-- 
Robin Becker



More information about the Distutils-SIG mailing list