[issue21348] File "C:\Python27\lib\distutils\msvc9compiler.py", line 295, in query_vcvarsal l raise ValueError(str(list(result.keys()))) ValueError: [u'path']

Cris report at bugs.python.org
Fri Apr 25 01:42:29 CEST 2014


New submission from Cris:

I have Windows 8 64bit and Python 64bit (installed from here: https://www.python.org/ftp/python/2.7/python-2.7.amd64.msi)

I also installed pywin32-214.win-amd64-py2.7 (from here http://downloads.sourceforge.net/project/pywin32/pywin32/Build%20214/pywin32-214.win-amd64-py2.7.exe?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpywin32%2Ffiles%2Fpywin32%2FBuild%2520214%2F&ts=1398376919&use_mirror=kent)

When I try to install Scrapy it gives me this error:

  File "twisted\runner\topfiles\setup.py", line 14, in <lambda>
  File ".\twisted\python\dist.py", line 413, in _check_header
  File ".\twisted\python\dist.py", line 399, in _compile_helper
  File "C:\Python27\lib\distutils\msvc9compiler.py", line 469, in compile
    self.initialize()
  File "C:\Python27\lib\distutils\msvc9compiler.py", line 379, in initialize
    vc_env = query_vcvarsall(VERSION, plat_spec)
  File "C:\Python27\lib\distutils\msvc9compiler.py", line 295, in query_vcvarsal
l
    raise ValueError(str(list(result.keys())))
ValueError: [u'path']

How can I fix it?

----------
messages: 217140
nosy: Cris
priority: normal
severity: normal
status: open
title: File "C:\Python27\lib\distutils\msvc9compiler.py", line 295, in query_vcvarsal l     raise ValueError(str(list(result.keys()))) ValueError: [u'path']
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21348>
_______________________________________


More information about the Python-bugs-list mailing list