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

Error loading command module 'ml' #520

Closed
terrymccarthy3000 opened this issue Feb 19, 2018 · 3 comments
Closed

Error loading command module 'ml' #520

terrymccarthy3000 opened this issue Feb 19, 2018 · 3 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. extension/ml needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. Service Attention This issue is responsible by Azure service team.

Comments

@terrymccarthy3000
Copy link


Environment summary

Linux UbuntuDesktop01 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Install Method

https://docs.microsoft.com/en-us/azure/machine-learning/preview/deployment-setup-configuration
sudo -i
pip install azure-cli
pip install azure-cli-ml

Issue description

Following instructions at https://docs.microsoft.com/en-us/azure/machine-learning/preview/deployment-setup-configuration
-----------------------------------
Step: Environment Setup - To start the setup process, you need to register a few environment providers by entering the following commands:
az provider register -n Microsoft.MachineLearningCompute

Result of above command: Error loading command module 'ml'
------------------------------------
Command: az --debug
Result of above command:
Error loading command module 'ml'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/azure/cli/core/__init__.py", line 129, in _update_command_table_from_modules
    module_command_table = _load_module_command_loader(self, args, mod)
  File "/usr/local/lib/python2.7/dist-packages/azure/cli/core/commands/__init__.py", line 549, in _load_module_command_loader
    return _load_command_loader(loader, args, mod, 'azure.cli.command_modules.')
  File "/usr/local/lib/python2.7/dist-packages/azure/cli/core/commands/__init__.py", line 523, in _load_command_loader
    module = import_module(prefix + name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/local/lib/python2.7/dist-packages/azure/cli/command_modules/ml/__init__.py", line 8, in <module>
    import azure.cli.command_modules.ml._help #pylint: disable=unused-import
  File "/usr/local/lib/python2.7/dist-packages/azure/cli/command_modules/ml/_help.py", line 6, in <module>
    from azure.cli.core.help_files import helps
ImportError: No module named help_files
------------------------------
/usr/local/lib/python2.7/dist-packages/azure/cli/command_modules/ml/_help.py
Line 6: from azure.cli.core.help_files import helps


@tjprescott
Copy link
Member

@trangevi for comment

@trangevi
Copy link
Member

@terrymccarthy3000 There is currently a version mismatch that is causing this issue. If you run ‘pip install -r https://aka.ms/az-ml-o16n-cli-requirements-file’ it should get your environment in a working state. I will work on updating our documentation to avoid this error.

@tjprescott tjprescott transferred this issue from Azure/azure-cli Feb 12, 2019
@yonzhan yonzhan added the Service Attention This issue is responsible by Azure service team. label Dec 25, 2019
@azure-sdk azure-sdk added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 24, 2020
@RakeshMohanMSFT RakeshMohanMSFT added the needs-author-feedback More information is needed from author to address the issue. label Jul 18, 2022
@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label Jul 25, 2022
@ghost
Copy link

ghost commented Jul 25, 2022

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@ghost ghost closed this as completed Aug 9, 2022
ShreyaAnand pushed a commit to ShreyaAnand/azure-cli-extensions that referenced this issue Dec 31, 2024
Liftr Informatica stable version 2024-05-08 - shortened arguments
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. extension/ml needs-author-feedback More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

6 participants