problem building python 3.5 extensions for windows

Zachary Ware zachary.ware+pylist at gmail.com
Mon Sep 21 17:14:17 CEST 2015


On Mon, Sep 21, 2015 at 7:55 AM, Robin Becker <robin at 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


More information about the Python-list mailing list