How to resolve "ModuleNotFoundError" when using Azure Python SDKs

Joshi, Pradyumn 5 Reputation points
2024-02-07T20:01:32.54+00:00

I am using the following module while working with Azure Python SDKs:

from azure.identity import DefaultAzureCredential

I have installed this library but I'm still getting a "ModuleNotFoundError". Can you help me resolve this issue? Here is some additional information:

  • Python version: 3.8.9
  • pip list shows that azure-identity is installed at version 1.15.0.

Also, checked the documentation for Azure SDK:

https://pypi.org/project/azure/

pip install azure is not supported going forward with version 5 release.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,162 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.