How to resolve "ModuleNotFoundError" when using Azure Python SDKs

Joshi, Pradyumn 0 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.
37,798 questions
{count} votes