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

ModuleNotFoundError: No module named 'azure.profiles' #24151

Closed
stevenhurwitt opened this issue Apr 22, 2022 · 5 comments
Closed

ModuleNotFoundError: No module named 'azure.profiles' #24151

stevenhurwitt opened this issue Apr 22, 2022 · 5 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@stevenhurwitt
Copy link

stevenhurwitt commented Apr 22, 2022

  • Package Name: azure-mgmt-resource
  • Package Version: 21.0.0
  • Operating System: Databricks cluster (linux)
  • Python Version: 3.7.5

Describe the bug
I am trying to import azure-mgmt-resource and getting this error:

ModuleNotFoundError: No module named 'azure.profiles'

To Reproduce
Steps to reproduce the behavior:

  1. import azure-mgmt-resource

Expected behavior
Module to import successfully.

Note
The solution in this duplicate issue did not work for me.

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 22, 2022
@azure-sdk
Copy link
Collaborator

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Container Registry:0.08040685,Event Hubs:0.051581953,Compute:0.046560343'

@tjprescott tjprescott added the Mgmt This issue is related to a management-plane library. label Apr 25, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 25, 2022
@tjprescott tjprescott added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. CXP Attention labels Apr 25, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 25, 2022
@azure-sdk
Copy link
Collaborator

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Event Hubs:0.08743066,Docs:0.08443268,Container Registry:0.052605137'

@tjprescott
Copy link
Member

@stevenhurwitt thank you for the report. @msyyc can you please investigate?

@msyyc
Copy link
Member

msyyc commented Apr 26, 2022

Hi @stevenhurwitt , according to this comment: #8497 (comment), I think the reason is that version of azure-common is too low. Please try the latest version.

@stevenhurwitt
Copy link
Author

thanks for the help, that worked!

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. 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

4 participants