'azureml.logging' module not found

本小妞迷上赌 提交于 2021-01-27 16:37:15

问题


I can't seem to get the logger to work in the online azure notesbooks workspace. I'm using python 3.6 environment. Running this import:

from azureml.logging import get_azureml_logger

gives me the following error:

ModuleNotFoundError: No module named 'azureml.logging

回答1:


The solution is

pip install "https://azuremldownloads.blob.core.windows.net/wheels/latest/azureml.logging-1.0.79-py3-none-any.whl?sv=2016-05-31&si=ro-2017&sr=c&sig=xnUdTm0B%2F%2FfknhTaRInBXyu2QTTt8wA3OsXwGVgU%2BJk%3D"

I found the blob url here. It's inside docker container dependencies.

https://github.com/Azure/LearnAI-Bootcamp/blob/master/lab03.3_manage_conda_envs_in_aml/0_README.md




回答2:


It seems that it's installed with Azure ML Workbench.

There is (currently) no way to install this as a stand-alone package from what I can find. If you look at the azureml package on GitHub there is no "logging" in it.



来源:https://stackoverflow.com/questions/49438358/azureml-logging-module-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!