Home > Blockchain >  Problem Installing azure-pipeline due to ruamel.yaml
Problem Installing azure-pipeline due to ruamel.yaml

Time:04-22

I am trying to install azure-pipeline using:

pip install azureml-pipeline

When I do this it installs most dependencies fine until I receive the following error messages:

Building wheel for ruamel.yaml (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
ERROR: Failed building wheel for ruamel.yaml
Running setup.py install for ruamel.yaml did not run successfully.

Note that when I install ruamel.yaml with pip it says all requirements are satisfied and when I try to reinstall the wheel tool all requirements are satisfied:

pip install ruamel.yaml
pip install -U pip setuptools wheel

Has anyone encountered this problem or know something I need to install maybe to get this to work? Note: Azureml is installed on my machine fine.

Edit:

Python Version = 3.9.7

OS = macOS Monterey v12.3.1

Here is a link to the error message in full: https://github.com/bencouser/errormessages/blob/main/error.txt

CodePudding user response:

I am not sure why your environment tries to create a wheel. The documented way to install ruamel.yaml is to do:

pip install ruamel.yaml

that will get you the wheel if it is available.

You should try to run the command above before running pip install azureml-pipeline and see if that solves the proglem. If that doesn't work, provide more information ((link to) full error trace, python version, host platform/architecture).

  • Related