question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`az ml job download` fails with python error

See original GitHub issue

Describe the bug

Command Name az ml job download (FYI: az feedback initially has set this field as Unknown for some reason)

Errors:

1. 'ml' is misspelled or not recognized by the system. (the error provided by `az feedback`)

2. `Type <class 'azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml.entities._job.pipeline._io.base.NodeOutput'> is not supported for operation bool().` (the actual error in the terminal)

To Reproduce:

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

  • az extension add -n ml -y
  • az ml job download --name {} --resource-group {} --workspace-name {} --download-path {}

Expected Behavior

The job should be downloaded successfully.

Environment Summary

Linux-5.15.0-1023-azure-x86_64-with-glibc2.31, Ubuntu 20.04.5 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.42.0

Extensions:
ml 2.11.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
zhengfeiwangcommented, Dec 14, 2022

@iddqdiddqd , for second error, it should be a known bug and it has been already fixed in new release. Please try ml extension with version 2.12.0 and let me know if it works for you. Thanks!

0reactions
luigiwcommented, Dec 16, 2022

Azure CLI creates its own virtual environment to install dependencies. Usually, you don’t need to worry about it messing up with your local environment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

regression: az ml job stream and download commands do not ...
az ml job download --name '$JOB_NAME' ERROR: This job is in state Preparing. Download is allowed only in states ['Completed', 'Failed', ...
Read more >
Troubleshooting online endpoints deployment and scoring
Learn how to troubleshoot some common deployment and scoring errors with online endpoints.
Read more >
az ml commands are failing with "ERROR: {'Azure-cli-ml Version'
Hi Team,. I am using an azurecli task in my pipeline which include the bellow commands and it is failing with error "ERROR:...
Read more >
Azureml Training model fail with libgomp.so.1 - Stack Overflow
libgomp.so.1 is causing the error. When xgboost is trying to load the library in runtime. When it failed, it will throw this kind...
Read more >
azure-ai-ml - PyPI
We are excited to introduce the GA of Azure Machine Learning Python SDK v2. The Python SDK v2 introduces new SDK capabilities like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found