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.

Title: Distutls fails with MSVC++ 2008on Windows Vista 64bit
Type: compile error Stage:
Components: Distutils, Extension Modules, Windows Versions: Python 2.7, Python 2.6
Status: closed Resolution: duplicate
Dependencies: Superseder: ValueError when trying to compile with VC Express
View: 7511
Assigned To: tarek Nosy List: ipatrol, skrah, srid, tarek
Priority: normal Keywords:

Created on 2010-07-11 13:36 by ipatrol, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg110008 - (view) Author: (ipatrol) Date: 2010-07-11 13:36
Trying to compile any extension module fails with the following error:

running install
running build
running build_ext
building 'bsdiff' extension
Traceback (most recent call last):
  File "", line 56, in <module>
    ext_modules = [extension])
  File "C:\hp\bin\Python\lib\distutils\", line 152, in setup
	[Skipping many levels for brevity]
  File "C:\hp\bin\Python\lib\distutils\", line 469, in compile
  File "C:\hp\bin\Python\lib\distutils\", line 379, in initialize
    vc_env = query_vcvarsall(VERSION, plat_spec)
  File "C:\hp\bin\Python\lib\distutils\", line 295, in query_vcvarsall
    raise ValueError(str(list(result.keys())))
ValueError: [u'path']

here, \hp\bin is a vista symlink to Python's directory. This is the second version that had this error, with several modules as well.

It appears to be an issue in msvc9compiler's handling of stdout, will try to patch.
msg110011 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2010-07-11 13:55
Duplicate of issue 7511.
Date User Action Args
2022-04-11 14:57:03adminsetgithub: 53470
2010-07-11 17:54:49sridsetnosy: + srid
2010-07-11 14:19:12mark.dickinsonsetstatus: open -> closed
resolution: duplicate
superseder: ValueError when trying to compile with VC Express
2010-07-11 13:55:47skrahsetnosy: + skrah
messages: + msg110011
2010-07-11 13:36:58ipatrolcreate