Shuchita Tripathi
04/01/2022, 3:49 PMKevin Kho
04/01/2022, 3:52 PMShuchita Tripathi
04/01/2022, 3:58 PMKevin Kho
04/01/2022, 4:01 PMAndrew Huang
04/01/2022, 4:05 PMpip install azure-storage-blob
and try rerunning your flowShuchita Tripathi
04/01/2022, 4:08 PMAndrew Huang
04/01/2022, 4:17 PMShuchita Tripathi
04/01/2022, 4:34 PMKevin Kho
04/01/2022, 4:48 PMShuchita Tripathi
04/01/2022, 4:48 PMKevin Kho
04/01/2022, 5:43 PMsetup.py
of their repo but I suspect your Python might be too high. Could you try 3.8?Andrew Huang
04/01/2022, 5:47 PMwhich python
and azure was installed into the proper environment which pip
pip list
(azure-test) [Fri 1 11:46] prefect: pip install azure-core azure-storage-blob
Collecting azure-core
Using cached azure_core-1.23.1-py3-none-any.whl (178 kB)
Collecting azure-storage-blob
Using cached azure_storage_blob-12.11.0-py3-none-any.whl (346 kB)
Collecting requests>=2.18.4
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting six>=1.11.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting typing-extensions>=4.0.1
Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting msrest>=0.6.21
Using cached msrest-0.6.21-py2.py3-none-any.whl (85 kB)
Collecting cryptography>=2.1.4
Using cached cryptography-36.0.2-cp36-abi3-macosx_10_10_universal2.whl (4.7 MB)
Collecting cffi>=1.12
Using cached cffi-1.15.0-cp39-cp39-macosx_11_0_arm64.whl (173 kB)
Collecting requests-oauthlib>=0.5.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting isodate>=0.6.0
Using cached isodate-0.6.1-py2.py3-none-any.whl (41 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.0-py3-none-any.whl (151 kB)
Installing collected packages: certifi, urllib3, typing-extensions, six, pycparser, oauthlib, idna, charset-normalizer, requests, isodate, cffi, requests-oauthlib, cryptography, azure-core, msrest, azure-storage-blob
Successfully installed azure-core-1.23.1 azure-storage-blob-12.11.0 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.12 cryptography-36.0.2 idna-3.3 isodate-0.6.1 msrest-0.6.21 oauthlib-3.2.0 pycparser-2.21 requests-2.27.1 requests-oauthlib-1.3.1 six-1.16.0 typing-extensions-4.1.1 urllib3-1.26.9
(azure-test) [Fri 1 11:46] prefect: python3
Python 3.9.9 | packaged by conda-forge | (main, Dec 20 2021, 02:41:06)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import azure
>>> from azure.storage import blob
>>>
Shuchita Tripathi
04/01/2022, 5:56 PMAndrew Huang
04/01/2022, 6:11 PMShuchita Tripathi
04/01/2022, 6:33 PMKevin Kho
04/01/2022, 6:38 PMazure-storage-blob
installed it should workShuchita Tripathi
04/01/2022, 6:45 PMKevin Kho
04/01/2022, 6:47 PMShuchita Tripathi
04/01/2022, 6:48 PMKevin Kho
04/01/2022, 6:49 PMShuchita Tripathi
04/01/2022, 6:49 PMKevin Kho
04/01/2022, 6:50 PMazure-storage-blob
separately by pip installing thatShuchita Tripathi
04/01/2022, 6:51 PMKevin Kho
04/01/2022, 6:53 PM>>> import azure
>>> from azure.storage import blob
Shuchita Tripathi
04/01/2022, 6:55 PMKevin Kho
04/01/2022, 6:57 PMShuchita Tripathi
04/01/2022, 6:58 PMKevin Kho
04/01/2022, 6:59 PMShuchita Tripathi
04/01/2022, 7:04 PMKevin Kho
04/01/2022, 7:29 PMShuchita Tripathi
04/01/2022, 7:35 PMKevin Kho
04/01/2022, 8:20 PMShuchita Tripathi
04/01/2022, 8:46 PMraise error
azure.core.exceptions.ServiceRequestError: <urllib3.connection.HTTPSConnection object at 0x000001E292AF2D90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
Kevin Kho
04/01/2022, 8:58 PMShuchita Tripathi
04/01/2022, 8:59 PMKevin Kho
04/01/2022, 9:00 PMShuchita Tripathi
04/01/2022, 9:00 PMKevin Kho
04/01/2022, 9:01 PMShuchita Tripathi
04/01/2022, 9:02 PMKevin Kho
04/01/2022, 9:03 PMShuchita Tripathi
04/01/2022, 9:03 PMKevin Kho
04/01/2022, 10:39 PM