How to upload local file into Azure blob storage using python
Hello Guys,
Welcome back to my channel in this video we are talking about How to upload the local files into Azure blob storage using python.
Requirement package:
pip install azure-storage-blob.
Error:
from azure. storage.blob import BlobServiceClient
ImportError: cannot import name 'BlobServiceClient' from 'azure.storage.blob' (/home/user-name/.local/lib/python3.7/site-packages/azure/storage/blob/__init__.py)
Fix the Error:
1.pip uninstall azure-storage
2.pip uninstall azure-storage-blob
3.pip install azure-storage-blob again.
4.Try from azure.storage.blob import BlobServiceClient again, and it would work perfectly.
Blog: https://technolog4world.blogspot.com/
Medium: https://medium.com/@shahnawazbarsoi
Instagram:https://www.instagram.com/technolog4world/
Facebook:https://www.facebook.com/TechnoloG4world-100379126150852
0 Comments