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


Groups > comp.lang.python > #96947

Re: problem building python 3.5 extensions for windows

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <zachary.ware@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'error:': 0.05; 'installed.': 0.05; '21,': 0.07; 'default.': 0.07; 'x86': 0.07; 'command.': 0.09; 'reinstall': 0.09; 'subject:python': 0.14; 'amd64': 0.16; 'install.': 0.16; 'scripts.': 0.16; 'stderr:': 0.16; 'subject:windows': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; '2015': 0.20; 'developer': 0.20; 'extension': 0.20; 'to:name:python-list@python.org': 0.20; 'sep': 0.22; 'subject:problem': 0.22; 'trying': 0.22; 'am,': 0.23; '(or': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; "doesn't": 0.26; 'command': 0.26; 'installed': 0.26; 'error': 0.27; 'message- id:@mail.gmail.com': 0.27; 'projects,': 0.27; "i'm": 0.30; 'folder': 0.30; 'checked': 0.31; 'probably': 0.31; 'especially': 0.32; 'options': 0.33; "skip:' 20": 0.34; 'received:google.com': 0.35; 'trouble': 0.35; 'c++': 0.35; 'but': 0.36; 'should': 0.36; 'instead': 0.36; 'there': 0.36; 'visual': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'seem': 0.37; 'starting': 0.37; 'version': 0.38; 'stuff': 0.38; 'building': 0.38; 'files': 0.38; 'sure': 0.39; 'enough': 0.39; 'unable': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'your': 0.60; 'great': 0.63; 'afraid': 0.67; 'choose': 0.68; 'sound': 0.72; 'sounds': 0.76; 'becker': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=cy5ybUxyr6V9LIqJlBqGweARftUkkFRrw9u14FETY+g=; b=XtCF2FI26CwznP8/rvvfCbIII3GyOHQaxj08cnDEBMg+pz6RMrRlywo2MXbkmDgGB2 aO8cOOPCFHIad4943ghjjhAL0koPIg2Hs6kf09/iwYW+PxIIvoMUN4Tqp/8MQsN9x8xC Qrx1Lbq4GW3N9s1d4PMKU7DdJQ17NNSI3MJq0EWxsKnd3R91Trwn+c9dl4bnpI64GeNx ghEzKEkVKYhMahKzcSSWRcN1tprVJW5z8DZwoM/wXq75tICTDN+By9GS0SIPuZ+HeN7C qNv5cWH4r+ltoKA2ERX5jFe63fKN4LVba+tO5//TNYr5nJw/bPXQ9bVE1O023jAvZske PqGQ==
X-Received by 10.107.152.75 with SMTP id a72mr31674504ioe.129.1442848476749; Mon, 21 Sep 2015 08:14:36 -0700 (PDT)
MIME-Version 1.0
Sender zachary.ware@gmail.com
In-Reply-To <55FFFE50.8090703@chamonix.reportlab.co.uk>
References <55FFFE50.8090703@chamonix.reportlab.co.uk>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date Mon, 21 Sep 2015 10:14:17 -0500
X-Google-Sender-Auth B__wJWQ_a7IdtVNaHzn8zVOLlfY
Subject Re: problem building python 3.5 extensions for windows
To "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.41.1442848484.28679.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442848484 news.xs4all.nl 23787 [2001:888:2000:d::a6]:59525
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96947

Show key headers only | View raw


On Mon, Sep 21, 2015 at 7:55 AM, Robin Becker <robin@reportlab.com> wrote:
> 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#.

This ...

> 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.

... and especially this make it sound like somehow the C++ options in
the installer were not checked (or not enough of them were).  I seem
to remember having to be sure to choose options carefully, as they
weren't selected by default.

> 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.

This also sounds like the C++ stuff just wasn't installed.  I'm afraid
reinstallation is probably your best bet.

-- 
Zach

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


Thread

Re: problem building python 3.5 extensions for windows Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-09-21 10:14 -0500

csiph-web