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

References <55FFFE50.8090703@chamonix.reportlab.co.uk>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date 2015-09-21 10:14 -0500
Subject Re: problem building python 3.5 extensions for windows
Newsgroups comp.lang.python
Message-ID <mailman.41.1442848484.28679.python-list@python.org> (permalink)

Show all headers | 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