windows 7 pysqlite build error
robin at reportlab.com
Tue Oct 14 13:20:57 CEST 2014
On 13/10/2014 22:00, Terry Reedy wrote:
> On 10/13/2014 4:31 PM, Dennis Lee Bieber wrote:
>> On Mon, 13 Oct 2014 10:49:27 +0100, Robin Becker <robin at reportlab.com>
>> declaimed the following:
>>>> c:\users\rptlab\tmp\tmcallister\build\pysqlite\src\connection.h(33) : fatal
>>>> error C1083: Cannot open include file: 'sqli
>>>> te3.h': No such file or directory
> Did \n get stuck in the name of the file in connection.h, or is that purely an
> artifact of the error reporting?
it's an artefact.
>>>> error: command 'c:\\Program Files (x86)\\Microsoft Visual Studio
>>>> 9.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2
>>> I do have the various compilers installed and other extensions are building OK,
>>> so is this an error in pysqlite or in my general setup? The include path looks
>>> like it might relate to Python builds. I suppose it's feasible that pyqslite
>>> builds need to be installed specially. I don't remember this happening on my old
>>> win32 XP system, but that died and I now am forced to use 64bit win7.
>> Off hand, you don't have the SQLite3 /development package/.
>> PySQLite is just an adapter to the sqlite3 DLL; the sqlite3.h file
>> would be part of the source code for sqlite3, not part of pysqlite itself.
OK so I need to install sqlite3 prior to the pip install. This stuff gets tested
more on linux and I suppose it's already there.
More information about the Python-list