导入 azure.storage.blob.aio

问题描述 投票:0回答:0

我想在我的 python 代码中使用 BlobServiceClient 类

我收到 ModuleNotFoundError

我安装了以下软件包:

pip install azure-storage-blob

在我的 python 脚本中,我尝试通过以下方式导入

from azure.storage.blob.aio import BlobServiceClient
[from azure.storage.blob import BlobServiceClient](https://pypi.org/project/azure-storage-blob/)

我仍然是 ModuleNotFoundError

我正在使用以下版本:

包装 版本
蟒蛇 3.9.7
天蓝色常见 1.1.28
蔚蓝核心 1.26.4
azure-eventgrid 4.10.0
天蓝色身份 1.12.0
天蓝色密钥库 4.2.0
azure-keyvault-certificates 4.7.0
azure-keyvault-keys 4.8.0
azure-keyvault-secrets 4.7.0
azure-servicebus 7.9.0
azure-storage-blob 12.16.0
azure-storage-common 2.1.0
azure 存储文件 2.1.0
azure-storage-file-share 12.12.0
python azure python-packaging
© www.soinside.com 2019 - 2024. All rights reserved.