[pypy-issue] Issue #1945: Compiling on Windows with Visual Studio 2008 and PyPy 2.4.0 (pypy/pypy)

Simon B. issues-reply at bitbucket.org
Thu Dec 11 17:57:55 CET 2014


New issue 1945: Compiling on Windows with Visual Studio 2008 and PyPy 2.4.0
https://bitbucket.org/pypy/pypy/issue/1945/compiling-on-windows-with-visual-studio

Simon B.:

I can't compile C extension modules with PyPy, here the example *pysha3*. Same is true with other extension libarys.

Error log of pip:

```
------------------------------------------------------------
C:\Users\Simon\Desktop\pypy-2.4.0-win32\bin\pip run on 12/11/14 17:56:49
Downloading/unpacking pysha3
  Getting page https://pypi.python.org/simple/pysha3/
  URLs to search for versions for pysha3:
  * https://pypi.python.org/simple/pysha3/
  Analyzing links from page https://pypi.python.org/simple/pysha3/
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.1.win-amd64-py2.6.exe#md5=af5dab0b9e0a61e36bbf80a215605168 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.1.win32-py2.6.exe#md5=268aa9963c6665a50b5c2dd43e0446e4 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.1.win-amd64-py2.6.exe#md5=4ca533cc8773cad1f7ab1c0571c85107 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.1.win32-py2.6.exe#md5=6add072d98871a6a7d07154ae02f413c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.2.win-amd64-py2.6.exe#md5=d137af764948d2d59798c7e4db6d4df6 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.2.win32-py2.6.exe#md5=b08c784fb9c9917afc73b146f3212061 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.win-amd64-py2.6.exe#md5=306152f666aa285994ad2d60e241ee2c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.2.win32-py2.6.exe#md5=bbbc6eba0497dc6b15576fff597d743a (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3-cp26-none-win32.whl#md5=566eb0e3c7dee2140a0ce2662f1c4339 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3-cp26-none-win_amd64.whl#md5=7f546ef211fee5143ff9f23554be2141 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3.win-amd64-py2.6.exe#md5=7229f6edb85df0fa4921e5fe5923f140 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.6/p/pysha3/pysha3-0.3.win32-py2.6.exe#md5=9666e460f88b174bf40457f40cf86766 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.1.win-amd64-py2.7.exe#md5=9b7314f662ba0f6e6b70f88aeb223547 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.1.win32-py2.7.exe#md5=04c2f761c0d68069668a7b452a47fb66 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.1.win-amd64-py2.7.exe#md5=e306d2f45c96fa0196cd8bcad2644c3c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.1.win32-py2.7.exe#md5=a57e983b0a41f506d351d3a0ef8ebbdd (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.2.win-amd64-py2.7.exe#md5=8a2e21c6d336a833bb93ab743fbe0352 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.2.win32-py2.7.exe#md5=7dbdf66324b8f0f96456bbc3a69ebba3 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.win-amd64-py2.7.exe#md5=4469667fb254e9101944dc5413b52139 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.2.win32-py2.7.exe#md5=6df2221799c27a5541503f47ecbd650c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3-cp27-none-win32.whl#md5=2635b11235356b00b3029b52df9b14aa (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3-cp27-none-win_amd64.whl#md5=743292eeed061ad9b1a77f39820f882c (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3.win-amd64-py2.7.exe#md5=478cb7157d9021016e9752ec15194aff (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/2.7/p/pysha3/pysha3-0.3.win32-py2.7.exe#md5=7a8f93c823911e2caa7573b7ca3f810c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.1.win-amd64-py3.2.exe#md5=7948e3a9f90a578084d9d77b6d242725 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.1.win32-py3.2.exe#md5=fb231bb7fb60ca7e428640ab30bef7d9 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.1.win-amd64-py3.2.exe#md5=54934ed22b2ede9a22b3f503b180f68e (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.1.win32-py3.2.exe#md5=753d8cc5c0f82dbdbf46c8da3f560597 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.2.win-amd64-py3.2.exe#md5=46a92d6c29b003f7c8a031d795f53402 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.2.win32-py3.2.exe#md5=ed95381b1c9d881c0b6643829da4dead (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.win-amd64-py3.2.exe#md5=c67d376b9e0db22f0012252cf05ccf33 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.2.win32-py3.2.exe#md5=3e078bcc316dfbdcad767bfef17b2bcb (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3-cp32-none-win32.whl#md5=939a2a29c19a5fbe8ebc228eccf1d164 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3-cp32-none-win_amd64.whl#md5=f1ba94bedb8f9633e713e15a44141703 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3.win-amd64-py3.2.exe#md5=e5626840feb09f8bac10ebb17b4134d1 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.2/p/pysha3/pysha3-0.3.win32-py3.2.exe#md5=228e7a5127ca0eacd859f7c9b6fe7415 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.1.win-amd64-py3.3.exe#md5=54d57013ab1ae30b7645cb7c28059d13 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.1.win32-py3.3.exe#md5=1605e5b4379d9b2eeaab6beb065136d6 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.1.win-amd64-py3.3.exe#md5=61e7ba52fb0f992514fe4fe8721318a3 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.1.win32-py3.3.exe#md5=42ac8762a6095be9220fb1f3e6d440d7 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.2.win-amd64-py3.3.exe#md5=7892e36806a2aa87b73b129fc7302b07 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.2.win32-py3.3.exe#md5=ad4f0a7241171eb34637928b98a2dd0d (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.win-amd64-py3.3.exe#md5=b43315760b2f4a83ffeab124cae73f4c (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.2.win32-py3.3.exe#md5=e7ec6126ab822d456652f405966db67e (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3-cp33-none-win32.whl#md5=957f624823eaa861e03bc8a57cc1a483 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3-cp33-none-win_amd64.whl#md5=25d28636975ea090c63482abd22ef4f6 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3.win-amd64-py3.3.exe#md5=8d7cc349b95a3f9f0a8d4532b0976a64 (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.3/p/pysha3/pysha3-0.3.win32-py3.3.exe#md5=0fdde3f0b7b756b645316fba00532ddd (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3-cp34-none-win32.whl#md5=93bec3c02225ac5ac41022289350a8d7 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3-cp34-none-win_amd64.whl#md5=47a9403b214c8a43d19e681daf86ce42 (from https://pypi.python.org/simple/pysha3/) because it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3.win-amd64-py3.4.exe#md5=f76ec330bd918d9fc693cf5acb3fc4ca (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/3.4/p/pysha3/pysha3-0.3.win32-py3.4.exe#md5=5457b9b9d286a3e9b06e367aa060a75e (from https://pypi.python.org/simple/pysha3/); unknown archive format: .exe
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.1.tar.gz#md5=28d01387b337e49af6f7123d41b13618 (from https://pypi.python.org/simple/pysha3/), version: 0.1
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.1.zip#md5=8bcbd81ea7014d5ef5589adaab6a7cbe (from https://pypi.python.org/simple/pysha3/), version: 0.1
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.1.tar.gz#md5=954d82c6a6e92f3f25e33a67b8b44aa6 (from https://pypi.python.org/simple/pysha3/), version: 0.2.1
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.1.zip#md5=848e934b1f22c69f439350abe2f88af8 (from https://pypi.python.org/simple/pysha3/), version: 0.2.1
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.2.tar.gz#md5=5899db42dd400e104f8d018467c4c35b (from https://pypi.python.org/simple/pysha3/), version: 0.2.2
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.2.zip#md5=af809c6600e0c41656a1dc603a13b726 (from https://pypi.python.org/simple/pysha3/), version: 0.2.2
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.tar.gz#md5=dc9541b4ac67be40f8eb662143655ecd (from https://pypi.python.org/simple/pysha3/), version: 0.2
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.2.zip#md5=06e755a6bb710c166c5ad4138d093884 (from https://pypi.python.org/simple/pysha3/), version: 0.2
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.3.tar.gz#md5=150ef07e47b6ef79bdf7717036ceccc7 (from https://pypi.python.org/simple/pysha3/), version: 0.3
    Found link https://pypi.python.org/packages/source/p/pysha3/pysha3-0.3.zip#md5=092da55212eb411845a18bf1d6b80295 (from https://pypi.python.org/simple/pysha3/), version: 0.3
    Skipping link http://bugs.python.org/issue16113 (from https://pypi.python.org/simple/pysha3/); not a file
    Skipping link http://keccak.noekeon.org/ (from https://pypi.python.org/simple/pysha3/); not a file
  Using version 0.3 (newest of versions: 0.3, 0.3, 0.2.2, 0.2.2, 0.2.1, 0.2.1, 0.2, 0.2, 0.1, 0.1)
  Downloading from URL https://pypi.python.org/packages/source/p/pysha3/pysha3-0.3.tar.gz#md5=150ef07e47b6ef79bdf7717036ceccc7 (from https://pypi.python.org/simple/pysha3/)
  Running setup.py (path:c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3\setup.py) egg_info for package pysha3
    running egg_info
    creating pip-egg-info\pysha3.egg-info
    writing pip-egg-info\pysha3.egg-info\PKG-INFO
    writing top-level names to pip-egg-info\pysha3.egg-info\top_level.txt
    writing dependency_links to pip-egg-info\pysha3.egg-info\dependency_links.txt
    writing manifest file 'pip-egg-info\pysha3.egg-info\SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found
    
    reading manifest file 'pip-egg-info\pysha3.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info\pysha3.egg-info\SOURCES.txt'
  Source in c:\users\simon\appdata\local\temp\pip_build_simon\pysha3 has version 0.3, which satisfies requirement pysha3
Installing collected packages: pysha3
  Running setup.py install for pysha3
    Running command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-2.7
    copying sha3.py -> build\lib.win32-2.7
    running build_ext
    building '_sha3' extension
    Traceback (most recent call last):
      File "app_main.py", line 75, in run_toplevel
      File "app_main.py", line 581, in run_it
      File "<string>", line 1, in <module>
      File "c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3\setup.py", line 99, in <module>
        "Topic :: Security :: Cryptography",
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\core.py", line 151, in setup
        dist.run_commands()
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\install.py", line 573, in run
        self.run_command('build')
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build.py", line 127, in run
        self.run_command(cmd_name)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 54, in run
        _build_ext.run(self)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 347, in run
        self.build_extensions()
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 456, in build_extensions
        self.build_extension(ext)
      File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 187, in build_extension
        _build_ext.build_extension(self, ext)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 506, in build_extension
        depends=ext.depends)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 473, in compile
        self.initialize()
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 383, in initialize
        vc_env = query_vcvarsall(VERSION, plat_spec)
      File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\msvc9_support.py", line 52, in query_vcvarsall
        return unpatched['query_vcvarsall'](version, *args, **kwargs)
      File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 299, in query_vcvarsall
        raise ValueError(str(list(result.keys())))
    ValueError: [u'path']
    Complete output from command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile:
    running install

running build

running build_py

creating build

creating build\lib.win32-2.7

copying sha3.py -> build\lib.win32-2.7

running build_ext

building '_sha3' extension

Traceback (most recent call last):

  File "app_main.py", line 75, in run_toplevel

  File "app_main.py", line 581, in run_it

  File "<string>", line 1, in <module>

  File "c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3\setup.py", line 99, in <module>

    "Topic :: Security :: Cryptography",

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\core.py", line 151, in setup

    dist.run_commands()

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 953, in run_commands

    self.run_command(cmd)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command

    cmd_obj.run()

  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\install.py", line 61, in run

    return orig.install.run(self)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\install.py", line 573, in run

    self.run_command('build')

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command

    self.distribution.run_command(command)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command

    cmd_obj.run()

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build.py", line 127, in run

    self.run_command(cmd_name)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\cmd.py", line 326, in run_command

    self.distribution.run_command(command)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\dist.py", line 972, in run_command

    cmd_obj.run()

  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 54, in run

    _build_ext.run(self)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 347, in run

    self.build_extensions()

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 456, in build_extensions

    self.build_extension(ext)

  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\command\build_ext.py", line 187, in build_extension

    _build_ext.build_extension(self, ext)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\command\build_ext.py", line 506, in build_extension

    depends=ext.depends)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 473, in compile

    self.initialize()

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 383, in initialize

    vc_env = query_vcvarsall(VERSION, plat_spec)

  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\setuptools\msvc9_support.py", line 52, in query_vcvarsall

    return unpatched['query_vcvarsall'](version, *args, **kwargs)

  File "C:\Users\Simon\Desktop\pypy-2.4.0-win32\lib-python\2.7\distutils\msvc9compiler.py", line 299, in query_vcvarsall

    raise ValueError(str(list(result.keys())))

ValueError: [u'path']

----------------------------------------
Cleaning up...
  Removing temporary dir c:\users\simon\appdata\local\temp\pip_build_Simon...
Command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3
Exception information:
Traceback (most recent call last):
  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\commands\install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\req.py", line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "c:\users\simon\desktop\pypy-2.4.0-win32\site-packages\pip\util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Users\Simon\Desktop\pypy-2.4.0-win32\pypy.exe -c "import setuptools, tokenize;__file__='c:\\users\\simon\\appdata\\local\\temp\\pip_build_Simon\\pysha3\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\simon\appdata\local\temp\pip-iio5ov-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\simon\appdata\local\temp\pip_build_Simon\pysha3

```





More information about the pypy-issue mailing list