ImportError: cannot import name Session, when using Azure SDK
问题 I am running code using Azure SDK. First, I download the sdk by pip install azure . Then I write to run the following python code. import requests import os # make sure you configure these three variables correctly before you try to run the code AZURE_ENDPOINT_URL='https://login.microsoftonline.com/xxxxxx-xx-155715822801/oauth2/token' AZURE_APP_ID='6dxxxxx8-c4af-4522xxx6-5a8f8155a616' AZURE_APP_SECRET='password' def get_token_from_client_credentials(endpoint, client_id, client_secret):