Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'win32': 0.03; 'error:': 0.07; 'suppose': 0.07; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:build': 0.09; 'python': 0.11; '/nologo': 0.16; 'feasible': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:windows': 0.16; 'extensions': 0.16; 'trying': 0.19; 'command': 0.22; 'install': 0.23; 'creating': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'looks': 0.24; 'extension': 0.26; 'header:X-Complaints- To:1': 0.27; 'installed': 0.27; 'skip:- 40': 0.29; 'getting': 0.31; "skip:' 10": 0.31; 'file:': 0.31; 'file': 0.32; 'stuff': 0.32; 'skip:- 30': 0.32; 'open': 0.33; 'skip:b 30': 0.33; 'but': 0.35; 'building': 0.35; 'skip:- 20': 0.37; 'system,': 0.38; 'ends': 0.38; 'requiring': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'such': 0.63; 'received:109': 0.72; 'forced': 0.84; 'relate': 0.84; 'died': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robin Becker Subject: windows 7 pysqlite build error Date: Mon, 13 Oct 2014 10:49:27 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 109.174.168.73 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413193746 news.xs4all.nl 2954 [2001:888:2000:d::a6]:39567 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79040 I am getting this error trying to use a python27 pip install of stuff which ends up requiring pysqlite>=2.6.3,<2.7 > building 'pysqlite2._sqlite' extension > > creating build\temp.win-amd64-2.7 > > creating build\temp.win-amd64-2.7\Release > > creating build\temp.win-amd64-2.7\Release\src > > c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAM > E=\"pysqlite2.dbapi2\" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IC:\python27\include -IC:\Users\rptlab\tmp\tenv\PC /Tcsrc/ > module.c /Fobuild\temp.win-amd64-2.7\Release\src/module.obj > module.c > > 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 > > error: command 'c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2 > > ---------------------------------------- > Cleaning up... 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. -- Robin Becker