Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Azure CLI ML Extension on MacOS #22590

Closed
ghost opened this issue May 24, 2022 · 4 comments
Closed

Unable to install Azure CLI ML Extension on MacOS #22590

ghost opened this issue May 24, 2022 · 4 comments
Assignees
Labels
CXP Attention This issue is handled by CXP team. Machine Learning az ml needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@ghost
Copy link

ghost commented May 24, 2022

Describe the bug

Command Name
az extension add -n azure-cli-ml

Errors:

An error occurred. Pip failed with status code 1. Use --debug for more information.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Install Azure CLI Tools extension

Environment Summary

macOS-12.4-arm64-arm-64bit, Darwin 21.5.0
Python 3.10.4
Installer: HOMEBREW

azure-cli 2.37.0

Additional Context

Installed another extension, ssh, without issue. See attached file for debug output
debug_output.txt

@ghost ghost added Auto-Assign Auto assign by bot Installation labels May 24, 2022
@ghost ghost assigned jiasli May 24, 2022
@ghost ghost added this to the Backlog milestone May 24, 2022
@yonzhan yonzhan added Machine Learning az ml and removed Installation Auto-Assign Auto assign by bot labels May 25, 2022
@yonzhan yonzhan added the CXP Attention This issue is handled by CXP team. label May 25, 2022
@ghost
Copy link

ghost commented May 25, 2022

Thank you for your feedback. This has been routed to the support team for assistance.

@yonzhan
Copy link
Collaborator

yonzhan commented May 25, 2022

route to CXP team

@navba-MSFT navba-MSFT self-assigned this May 25, 2022
@navba-MSFT
Copy link
Contributor

@osiotugo Thanks for reaching out to us and sharing this feedback. Could you please confirm if you are using a Mac OS with an M1 chip ? If Yes, check if running the below command helps. Awaiting your reply.

brew install [email protected]
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"
az extension add -n ml -y

If it doesn't help, my recommendations would be to add and use the CLIv2 (ml) extension using the below command. More Info here.

az extension add -n ml -y

Similar issue #22140

@navba-MSFT navba-MSFT added the needs-author-feedback More information is needed from author to address the issue. label May 25, 2022
@ghost
Copy link
Author

ghost commented May 25, 2022

Ah I missed that issue. I am running on the m1 chip and installed v2 yesterday, so it looks like the export commands did the trick. Thank you!

@ghost ghost closed this as completed May 25, 2022
@navba-MSFT navba-MSFT added the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Jun 27, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CXP Attention This issue is handled by CXP team. Machine Learning az ml needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants