I'm using notebooks.azure.com
to learn python. I'm trying to manage Blobs with python sdk.
MUCH of the documentation I come across mentions pip install azure-storage-blob
then using the BlobServiceClient
(class?) to interact with Azure Storage.
UNFORTUNATELY, I get the error: ImportError: cannot import name 'BlobServiceClient'
when trying to call from azure.storage import BlobServiceClient
. This occurs after installing and upgrading azure-storage
(v0.36.0) and azure-blob-storage
(v12.3.0).
Here is a public Notebook showing the issue
Does this mean notebooks.azure.com is using the python v2.1 SDK
(which appears to use BlockBlobService
instead of BlobServiceClient
)
How do I check which version of the python SDK my Azure Notebook is running?
EDIT 1:
- No change after running
!pip install azureml-sdk\[notebooks,automl\] --upgrade