【发布时间】:2017-02-24 17:54:30
【问题描述】:
我已经安装了适用于 Python 的 azure SDK(pip install azure)。 我已将用于 ML Web 服务的 MS Azure 机器学习批处理补丁上的 Python 代码复制到 Anaconda Notebook 中。 我已将脚本中的所有占位符替换为脚本 cmets 中所述的实际值。 当我运行脚本时,我在脚本行“blob_service = BlobService(account_name=storage_account_name, account_key=storage_account_key)NameError: global name 'BlobService' is not defined /em>”。 由于脚本开头的“from azure.storage import *”行不会产生错误,因此我不清楚问题出在哪里,也不知道如何解决。谁能指出我应该纠正什么?
【问题讨论】: