[issue2943] Distutils should generate a better error message when the SDK is not installed

Cournapeau David report at bugs.python.org
Thu May 22 13:33:02 CEST 2008


New submission from Cournapeau David <david at ar.media.kyoto-u.ac.jp>:

I tried to build some extensions with python 2.6 (built from sources
with VS 2008 express), and got some errors in the function
query_vcvarsall. The offending lines are:

if len(result) != len(interesting):
    raise ValueError(str(list(result.keys())))

I got a value error here. After some investigation, I realized that it
was because I did not install the SDK. I think the error message could
be isgnificantly improved if installing the SDK was suggested in the
exception message.

----------
components: Distutils
messages: 67187
nosy: cdavid
severity: normal
status: open
title: Distutils should generate a better error message when the SDK is not installed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2943>
__________________________________


More information about the Python-bugs-list mailing list