Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96938

problem building python 3.5 extensions for windows

Path csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <python-python-list@m.gmane.org>
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; 'error:': 0.05; 'url:msdn': 0.07; 'x86': 0.07; 'command.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'reinstall': 0.09; 'subject:python': 0.14; 'amd64': 0.16; 'install.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'scripts.': 0.16; 'stderr:': 0.16; 'subject:windows': 0.16; 'developer': 0.20; 'extension': 0.20; 'subject:problem': 0.22; 'trying': 0.22; 'header:User- Agent:1': 0.26; "doesn't": 0.26; 'example': 0.26; 'command': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'error': 0.27; 'projects,': 0.27; 'folder': 0.30; 'options': 0.33; "skip:' 20": 0.34; 'trouble': 0.35; 'c++': 0.35; 'but': 0.36; 'should': 0.36; 'instead': 0.36; 'there': 0.36; 'url:library': 0.36; 'visual': 0.36; 'to:addr:python-list': 0.36; 'received:org': 0.37; 'starting': 0.37; 'version': 0.38; 'building': 0.38; 'files': 0.38; 'unable': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'great': 0.63; 'url:en-us': 0.72; 'received:109': 0.75; 'becker': 0.84; 'presumably': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robin Becker <robin@reportlab.com>
Subject problem building python 3.5 extensions for windows
Date Mon, 21 Sep 2015 13:55:44 +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
X-Mozilla-News-Host news://news.gmane.org:119
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.34.1442840164.28679.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442840164 news.xs4all.nl 23810 [2001:888:2000:d::a6]:43976
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96938

Show key headers only | View raw


I have installed VS2015; this is the full version and was a great deal of 
trouble to install. First time out it started whining and I had to 'repair' it.

Anyhow after the 'repair' it said all was OK and no complaints.

However, when I try to use it I don't see options for starting C++ projects, but 
instead only C#.

I get an error like this trying to build for x86 or amd64

          | building 'reportlab.lib._rl_accel' extension
Stderr:  | error: Unable to find vcvarsall.bat

There is a folder "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC", but 
it doesn't contain any batch scripts. Document 
https://msdn.microsoft.com/en-us/library/x4d2c09s.aspx claims to be about 
VS2015, but has as example

cd "\Program Files (x86)\Microsoft Visual Studio 12.0\VC"

which is presumably not for VS2015.

Any ideas how to get this to work? Should I try a full reinstall of VS2015? I 
can start the VS2015 Developer command prompt, but it doesn't then know about 
the "cl" command.
-- 
Robin Becker

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-21 13:55 +0100

csiph-web