Cannot import AppendBlob from Azure Storage blob

Lucia Casucci 36 Reputation points Microsoft Employee

I am trying to use AppendBlob

I installed the libraries azure-storage-blob and I was doing other scripts calling BlobClient and Container Client with no issue
However when I import AppendBlob, I am always getting an error "cannot import name 'AppendBlobService' from '' "

any idea on how to make it work?

Thanks in advance - see screenshot below


Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,419 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. shiva patpi 9,251 Reputation points Microsoft Employee

    Hello @Lucia Casucci ,
    I was able to repro the same issue locally but after running pip install azure-storage --upgrade error is gone.
    Can you kindly try out from your end ?

    I just tried only sample piece of Import code for which same error was thrown , but after --upgrade it went through successfully.

    from import blob
    from import AppendBlobService


    No comments

  2. Ayoub HAMDI 1 Reputation point

    Which version of python you are using ?

    No comments