Missing sqlite3.h Error when Building Debug Python -- Windows Vista

Bev in TX countryone77 at yahoo.com
Sat Jul 19 08:19:50 EDT 2008


I am a complete newbie at building Python.  I am trying to build it
under MS Windows Vista (64-bit AMD) with MS VS2005.  I'm doing that
because I need debug libraries, which I did not see in the standard
distribution.

I downloaded the source and found the MSVS8 solution/project files.
However, when I tried to build it I got the following error:

...\python-2.5.2\modules\_sqlite\connection.h(33) : fatal error C1083:
Cannot open include file: 'sqlite3.h': No such file or directory

I searched on the web, and at one place it said I would just need to
download sqlite3.h from sqlite.org.  I looked around there, but I
could not find the source for sqlite 3.3.4.  I went back and reread
the PCbuild8\readme.txt file, and it mentions using the following
command to download the sqlite:

svn export http://svn.python.org/projects/external/sqlite-source-3.3.4

Do I really need to get the whole thing, or will just sqlite3.h
resolve the build problem.  As far as I know, I don't really need
sqlite.  If I do need to execute that svn command, how do I execute
that under MS Windows?

Or is there some other way in which to circumvent this error?

Thanks,
Bev in TX



More information about the Python-list mailing list