Azure / Azure/azure-storage-python

I'm getting Azure.Storage.Blob can not import in Azure ML notebook, what is the reason?

未关闭
#717 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
343
派生
243
PR 合并指标
30 天内没有已合并 PR

描述

import cv2
import time
from matplotlib import pyplot as plt
from azure.storage.blob import BlockBlobService
import os

4th line is giving error, I checked package is installed

error:-

ImportError Traceback (most recent call last)
Cell In[1], line 4
2 import time
3 from matplotlib import pyplot as plt
----> 4 from azure.storage.blob import BlockBlobService

ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob' (/anaconda/envs/azureml_py38/lib/python3.9/site-packages/azure/storage/blob/__init__.py)

贡献指南

打开贡献指南

调研方向

从 Azure ML notebook 中失败的 import 开始,检查 /anaconda/envs/azureml_py38/lib/python3.9/site-packages/azure/storage/blob/__init__.py 中安装的软件包。检查该环境提供哪种 blob client API,并将其与代码中的 BlockBlobService import 进行比较。完成的标准是确定原因,并记录或确认一个可用的 import 路径。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
cloud
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。