Closed GIZELLYPY closed 3 years ago
I imported the and uuid before importing azure.storage.blob and everything worked!
see more in [https://docs.microsoft.com/pt-br/azure/storage/blobs/storage-quickstart-blobs-python]
import os, uuid
from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient, __version__
try:
print("Azure Blob storage v" + __version__ + " - Python quickstart sample")
# Quick start code goes here
except Exception as ex:
print('Exception:')
print(ex)
I have this Dockerfile: Docker version 19.03.6, build 369ce74a3c WSL2 Ubuntu 18.04 LTS
And i have this requirements:
My DAG:
My script blob.py:
My script azure.py:
I can raise the airflow normally, but when I run a script using a Bash command with bashoperator, the error below occurs:
It appears that the container does not recognize the installed package and is unable to import. How can I solve this?
Thank you!