URGENT: the dreaded "ModuleNotFound: Azure" error is being thrown when executing the from-import lines of code !!!
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 30/100
调研方向
使用指定的 Python 虚拟环境和 azure-cognitiveservices-vision-customvision 包,在 VSCode notebook 中重现该导入。检查 notebook 中选择的环境是否与安装该包的环境一致;当 CustomVisionTrainingClient 的导入成功且没有 ModuleNotFoundError 时即表示完成。未指定任何仓库文件或测试的名称。
由索引模型根据 Issue 内容生成。
描述
- bug report -> please search issues before submitting
- feature request
- documentation issue or request
- regression (a behavior that used to work and stopped in a new release)
### Minimal steps to reproduce
>
START VSCode;
INSTALL Python extensions (which will INCLUDE everything to run Jupyter Notebooks in a project) in VSCode;
DEFINE a python virtual environment for your project;
INSTALL Azure CognitiveServices "custom vision" package into that virtual environment;
(pip install azure-cognitiveservices-vision-customvision)
COPY the following line into a notebook cell:
from azure.cognitiveservices.vision.customvision.training import CustomVisionTrainingClient
EXECUTE the cell
=> RESULT: VSCode will throw the following exception:
ModuleNotFoundError: No module named 'azure'
### Any log messages given by the failure
>ModuleNotFoundError: No module named 'azure'
### Expected/desired behavior
> the desired class is SUCCESSFULLY imported into the notebook
### OS and Version?
> Win10pro (all auto-patching CURRENT)
### Mention any other details that might be useful
> COPIED & PASTED code VERBATUM directly from the following "QuickStart" web page at docs.microsoft.com:
https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/quickstarts/image-classification?tabs=visual-studio&pivots=programming-language-python
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
- 主要语言
- Jupyter Notebook
- 星标
- 388
- 派生
- 555
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure-Samples/cognitive-services-quickstart-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 25/100
Azure-Samples/cognitive-services-quickstart-code#346 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 25/100
查看 Azure-Samples/cognitive-services-quickstart-code 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
goharbor/terraform-provider-harbor#655 · 1 条评论 ·
-
bug terraform
难度 2/5 1-3 小时 新手友好度 78/100
GoogleChrome/webstatus.dev#2920 ·
维护者通常 2 天内回复
-
E1152: `resolve:ssm:` ImageId rejected on `AWS::EC2::Instance`可能已有人在做 @Varshith-Kali 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
aws-cloudformation/cfn-lint#4826 · 1 条评论 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
aws-cloudformation/resource-provider-enhanced-schemas#63 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
triton-inference-server/server#9033 ·
维护者通常 1 天内回复