Not able to get COVID-19 Open Research data

Boya 0 Reputation points Microsoft Employee
2024-12-09T22:07:22.5233333+00:00

tried to follow https://learn.microsoft.com/en-us/azure/open-datasets/dataset-covid-19-open-research?tabs=azure-storage, pip install azure-storage is deprecated. used pip install azure-storage-blob instead. then "from azure.storage.blob import BlockBlobService" is getting "cannot import name 'BlockBlobService' from 'azure.storage.blob'" error.

Tried to follow https://learn.microsoft.com/en-us/azure/open-datasets/dataset-covid-19-open-research?tabs=azureml-opendatasets. I'm using python 3.10. at the step "mount = cord19_dataset.mount()" , got error:

"cannot import name 'PyMountOptions' from 'azureml.dataprep.rslex'

Azure Open Datasets
Azure Open Datasets
An Azure service that provides curated open data for machine learning workflows.
29 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 22,290 Reputation points
    2024-12-25T19:32:53.7933333+00:00

    The BlockBlobService class has been deprecated and removed in the newer versions of the azure-storage-blob package. Instead, you should use the BlobServiceClient class from the azure-storage-blob package.

    https://github.com/Azure/azure-storage-python/issues/389

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.