Skip to content

Error while finding module specification for 'azure.cli' (ModuleNotFoundError: No module named 'azure') #21737

Description

@Kmumuda

==============================================================================
C:\Windows\system32\cmd.exe /D /S /C "C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\az.bat --version"
C:\hostedtoolcache\windows\Python\3.8.10\x64\python.exe: Error while finding module specification for 'azure.cli' (ModuleNotFoundError: No module named 'azure')
##[error]Error Code: [1]
##[error]Script failed with error: C:\hostedtoolcache\windows\Python\3.8.10\x64\python.exe: Error while finding module specification for 'azure.cli' (ModuleNotFoundError: No module named 'azure')

Finishing: Azure CLI

Activity

  1. ghost added
    customer-reportedIssues that are reported by GitHub users external to the Azure organization.
    on Mar 22, 2022
  2. added this to the Backlog milestone on Mar 22, 2022
  3. yonzhan commented on Mar 22, 2022

    @yonzhan
    Collaborator

    Jiashuo Li (@jiasli) for awareness

  4. jiasli commented on Mar 23, 2022

    @jiasli
    Contributor

    Judging from the installation path:

    C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\az.bat
    

    It seems you are running Azure CLI on a ML instance: #18626

  5. ghost added
    no-recent-activityThere has been no recent activity on this issue.
    on Jun 16, 2022
  6. ghost closed this as completedon Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

InstallationMachine Learningaz mlService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackMore information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions