Is Put_block_blob_from_path Depreciated?
I'm currently trying to upload some files to my Azure storage, but can't seem to achieve that. from azure.storage.blob import BlockBlobService data1File=os.path.join(filePath,'data
Solution 1:
I reviewed the versions of Azure Storage SDK for Python, the version of the APIs you used is less than 0.20.3
, and the APIs have changed from version 0.30.0
.
You can check your current version via pip freeze | grep azure-storage
.
If you want to the old version, you need to first remove the current one via pip uninstall azure-storage
and reinstall via pip install azure-storage==0.20.3
.
If not, please try to upgrade to the newest one via pip install --upgrade azure-storage
and refer to the newest offical tutorial & the latest API reference to use new APIs.
Post a Comment for "Is Put_block_blob_from_path Depreciated?"