[New-bugs-announce] [issue31932] setup.py cannot find vcversall.bat on MSWin 8.1 if installed in user AppData

Hugh Fisher report at bugs.python.org
Fri Nov 3 06:44:13 EDT 2017


New submission from Hugh Fisher <hugo.fisher at gmail.com>:

This was raised in issue #23246 but apparently not addressed at the time.

The Visual C for Python 2.7 tools on my MS Windows 8.1 system installed themselves under the invisible AppData directory because I did not do so as Administrator. Running setup.py to build a (2.7) native extension then fails because it can't find VCVERSALL.BAT.

Fix is a couple of extra lines in find_vcvarsall in msvc9compiler.py to search under AppData if it can't be found in the system location. I will submit a pull request.

----------
components: Distutils
messages: 305470
nosy: dstufft, eric.araujo, laranzu
priority: normal
severity: normal
status: open
title: setup.py cannot find vcversall.bat on MSWin 8.1 if installed in user AppData
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31932>
_______________________________________


More information about the New-bugs-announce mailing list