简体   繁体   中英

Problem Installing azure-pipeline due to ruamel.yaml

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

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM