Can't find azure.storage.blob package when running python script on ADF

Hao Wu (M365) 6 Reputation points
2020-08-12T07:27:15.477+00:00

I'm following the guide https://learn.microsoft.com/en-us/azure/batch/tutorial-run-python-batch-azure-data-factory to run python on ADF, but the line from azure.storage.blob import BlockBlobService gave me a "errorCode": "2010" "message": "Hit unexpected exception, please retry. If the problem persists, please contact Azure Support\" error. I know it's that line because all other imports were ok and that line alone in a script gives same error. I noticed that the prereq includes "The Azure pip package", but as that was deprecated I installed azure-storage-blob package locally. What did I miss?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,639 questions
{count} votes