pip install PyYAML fails on Python 3.4 x64

Alexander Turenko's Avatar

Alexander Turenko

21 Aug, 2020 12:15 AM

However Python 3.4 x86 ("C:\\Python34") works fine. The error looks like a problem with a compiler setup (just guess):

      File "C:\Python34-x64\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall
        raise ValueError(str(list(result.keys())))
    ValueError: ['path']

The failed job: https://ci.appveyor.com/project/tarantool/tarantool-python/builds/3...

There is the discussion regarding a problem with Python 2.7.10 that looks similar and was resolved.

I guess the problem can be reprodured with the following appveyor.yml (it is my appveyor.yml, but stripped):

environment:  
  matrix:
    - PYTHON: "C:\\Python34-x64"

install:  
  - "%PYTHON%\\python.exe -m pip install pyyaml"

build: off

test_script:  
  - echo This will not be executed
<pre><code></code>
</pre>
  1. 1 Posted by Alexander Turen... on 21 Aug, 2020 03:15 AM

    Alexander Turenko's Avatar

    Worked around by explicitly requiring PyYAML version that has wheel on PyPI for given platform and Python version / build.

  2. Support Staff 2 Posted by Feodor Fitsner on 24 Aug, 2020 02:17 AM

    Feodor Fitsner's Avatar

    Thanks for sharing the solution!

  3. Feodor Fitsner closed this discussion on 24 Oct, 2020 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac