Python 2.7, PIP: "Fehler beim Aufbau Rad für ..."

Ersten mal mit pip, versuchen, zu verwenden die python-docs-Proben-tutorial-Bibliothek. Wenn ich die "python -m pip install-r requirements.txt" Befehl, eine Menge von Skripten sind eingezogen, aber dann bekomme ich eine Reihe von "Failed Gebäude-Rad" - Fehler. Einer von diesen ist dargestellt in der beigefügten code-block (bitte entschuldigen Sie den von hand eingegebenen Zeilenumbruch Zeilenumbrüche).

Was ist das problem? Wer das schon mal gesehen? Ich habe nicht verändert, Teile der Bibliothek oder der code, der es verwendet, und ich bin mit Python 2.7.12, die angeblich gut integrierten support für PIP.

  Running setup.py bdist_wheel for PyYAML ... error
  Complete output from command C:\users\owner\python-docs-samples\env\Scripts\python.exe 
-u -c "import setuptools, tokenize;__file__='c:\\users\\owner\\appdata\\local\\temp\\
pip-build-86ysrg\\PyYAML\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__)
.read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d c:\users\owner\appdata
\local\temp\tmpljy6z0pip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-2.7
  creating build\lib.win32-2.7\yaml
  copying lib\yaml\composer.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\constructor.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\cyaml.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\dumper.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\emitter.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\error.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\events.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\loader.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\nodes.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\parser.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\reader.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\representer.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\resolver.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\scanner.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\serializer.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\tokens.py -> build\lib.win32-2.7\yaml
  copying lib\yaml\__init__.py -> build\lib.win32-2.7\yaml
  running build_ext
  creating build\temp.win32-2.7
  creating build\temp.win32-2.7\Release
  checking if libyaml is compilable
  error: [Error 2] The system cannot find the file specified

  ----------------------------------------
  Failed building wheel for PyYAML
  Running setup.py clean for PyYAML
  • Versuchen Sie es mit python -m easy_install pyyaml statt.
InformationsquelleAutor Steve Eklund | 2016-07-12
Schreibe einen Kommentar