There may be a bug in setuptools. We've already seen one reported and fixed in the last week, so possibly this is related.
Issues in setuptools go to their github page (don't have the link handy on my phone). Nothing has changed in distutils in over a year here and it's been working just fine, so I'd look at what they're doing in setuptools. Cheers, Steve Top-posted from my Windows Phone -----Original Message----- From: "posti...@andreaskrueger.de" <posti...@andreaskrueger.de> Sent: 8/10/2016 6:34 To: "distutils-sig@python.org" <distutils-sig@python.org> Subject: Re: [Distutils] msvc9compiler.py - vcvarsall.bat is living onefolder higher - VS90COMNTOOLS Hi Steve, Thanks for your superfast answer. > There's actually also a requirement for a relatively recent version (>=6.0) > of setuptools > in order to build correctly using the Visual C++ Compiler for Python. This is the installed version setuptools: 25.1.6-py27_0 and 25>6 ? This will allow the compiler to be found without using the environment variable. Then perhaps consider to completely remove/deprecate the route via environment variable? Because there are tons of workarounds & manuals out there which actually point towards using the environment variable. Or fix it. I suggest ensuring that setuptools is up to date So the setuptools included in the newest anaconda is not new enough? , and either import it in the setup.py (you don't have to do anything except import it) or use pip to install your packages. Not sure I understand. I have been installing mc-stan.org - via 'conda install -c patricksnape pystan'. It worked only after (solving other problems, and) patching your distutils.
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig