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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'from:addr:yahoo.co.uk': 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; 'python': 0.10; 'subject:python': 0.14; 'amd64': 0.16; 'hits': 0.16; 'inclined': 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; 'wrote:': 0.16; 'language': 0.19; 'windows': 0.20; 'developer': 0.20; 'extension': 0.20; 'lawrence': 0.22; 'subject:problem': 0.22; 'file.': 0.22; 'trying': 0.22; 'tried': 0.24; 'header:In- Reply-To:1': 0.24; "i've": 0.25; '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; 'separate': 0.27; 'projects,': 0.27; 'correct,': 0.29; 'referenced': 0.29; 'folder': 0.30; "i'd": 0.31; 'language.': 0.32; 'reported': 0.32; 'options': 0.33; 'problem': 0.33; "skip:' 20": 0.34; 'file': 0.34; 'trouble': 0.35; 'c++': 0.35; 'but': 0.36; 'too': 0.36; 'should': 0.36; 'instead': 0.36; 'there': 0.36; 'url:library': 0.36; 'visual': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'starting': 0.37; 'version': 0.38; 'anything': 0.38; 'building': 0.38; 'files': 0.38; 'unable': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'mark': 0.40; 'charset:windows-1252': 0.62; 'great': 0.63; 'our': 0.64; 'url:en- us': 0.72; '"download': 0.84; 'becker': 0.84; 'presumably': 0.84; 'pythonistas,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: problem building python 3.5 extensions for windows Date: Mon, 21 Sep 2015 14:27:24 +0100 References: <55FFFE50.8090703@chamonix.reportlab.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 195.147.66.69 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <55FFFE50.8090703@chamonix.reportlab.co.uk> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 45 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442842072 news.xs4all.nl 23831 [2001:888:2000:d::a6]:56467 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96941 On 21/09/2015 13:55, Robin Becker 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#. > > 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 The most reported problem trying to build anything on Windows that is Python related. > > 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. Correct, the folder you referenced first should contain the batch file. > > 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. I'd be inclined to go for the reinstall, painful as that might be. I've tried finding the batch file as a separate download but there's just too many hits about "download Visual Studio". -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence