microsoftgraph / msgraph-sdk-python

MIT License
360 stars 50 forks source link

ModuleNotFoundError: No module named 'azure' #900

Closed babaMar closed 2 weeks ago

babaMar commented 2 weeks ago

Describe the bug

I installed the package using pip and I wanted to run the example form the README

import asyncio

from azure.identity.aio import ClientSecretCredential

credential = ClientSecretCredential("tenantID",
                                    "clientID",
                                    "clientSecret")
scopes = ['https://graph.microsoft.com/.default']

Expected behavior

I would expect the package to handle its own subdependencies

How to reproduce

pip install msgraph-sdk

import asyncio

from azure.identity.aio import ClientSecretCredential

credential = ClientSecretCredential("tenantID",
                                    "clientID",
                                    "clientSecret")
scopes = ['https://graph.microsoft.com/.default']

SDK Version

1.7.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ``` ```

Configuration

No response

Other information

No response