Sep-25-2020, 09:03 AM
Hi,
The following import of BlockBlobService
The only working solution I found was to change to an older version of "azure-storage-blob"
pip install azure-storage-blob==2.1.0
Anyway, my questions is:
Is this error caused by a bug in latest version of "azure-storege-blob" or has 'BlockBlobService' been removed by intention?
If 'BlockBlobService' has been removed by intention: Is there any replacement?
There is multiple ways to do import, compared to above example importing BlockBlobService can be done by:
Thank you
The following import of BlockBlobService
from azure.storage.blob import BlockBlobServiceyields the error message: ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob'
The only working solution I found was to change to an older version of "azure-storage-blob"
pip install azure-storage-blob==2.1.0
Anyway, my questions is:
Is this error caused by a bug in latest version of "azure-storege-blob" or has 'BlockBlobService' been removed by intention?
If 'BlockBlobService' has been removed by intention: Is there any replacement?
There is multiple ways to do import, compared to above example importing BlockBlobService can be done by:
import azure.storage.blob.blockblobserviceDoes it matter how BlockBlobService is imported (is both examples correct)?
Thank you