我正在嘗試使用以下方法安裝 azure-pipeline:
pip install azureml-pipeline
當我這樣做時,它會很好地安裝大多數依賴項,直到我收到以下錯誤訊息:
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.
請注意,當我使用 pip 安裝 ruamel.yaml 時,它表示所有要求都已滿足,而當我嘗試重新安裝輪工具時,所有要求均已滿足:
pip install ruamel.yaml
pip install -U pip setuptools wheel
有沒有人遇到過這個問題或者知道我需要安裝什么才能讓它作業?注意:Azureml 已安裝在我的機器上。
編輯:
Python 版本 = 3.9.7
作業系統 = macOS Monterey v12.3.1
這是錯誤訊息的完整鏈接:https ://github.com/bencouser/errormessages/blob/main/error.txt
uj5u.com熱心網友回復:
我不確定為什么您的環境試圖創建一個輪子。記錄在案的安裝方法ruamel.yaml是:
pip install ruamel.yaml
如果有的話,這會讓你得到輪子。
您應該在運行之前嘗試運行上面的命令,pip install azureml-pipeline看看是否可以解決問題。如果這不起作用,請提供更多資訊((鏈接到)完整的錯誤跟蹤、python 版本、主機平臺/架構)。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/461503.html
標籤:Python 天蓝色 天蓝色管道 蟒蛇轮 ruamel.yaml
