This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark53
Recipients Mark53, dstufft, eric.araujo
Date 2016-06-15.09:12:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465981967.5.0.585980107476.issue27324@psf.upfronthosting.co.za>
In-reply-to
Content
I'd like to build a C++ extension for Python. I took a simple C file from a tutorial and wrote the setup.py file. But when I run the command:
python setup.py build_ext --inplace

I get the following error:
error: Unable to find vcvarsall.bat

This file is located in "c:\Program Files (x86)\Microsoft Visual Studio 12.0\vc\vcvarsall.bat" but even when I run it and set all environment variables, python.exe still tries to find it. I added this path to the PATH but it didn't solve the issue.
History
Date User Action Args
2016-06-15 09:12:47Mark53setrecipients: + Mark53, eric.araujo, dstufft
2016-06-15 09:12:47Mark53setmessageid: <1465981967.5.0.585980107476.issue27324@psf.upfronthosting.co.za>
2016-06-15 09:12:47Mark53linkissue27324 messages
2016-06-15 09:12:46Mark53create