New submission from Mark:

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.

----------
components: Distutils
messages: 268612
nosy: Mark53, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: Error when building Python extension
type: compile error
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27324>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to