Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'azureml.logging' module not found

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
like image 358
Bookamp Avatar asked Sep 01 '26 04:09

Bookamp


2 Answers

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

like image 105
Rohit Tidke Avatar answered Sep 06 '26 10:09

Rohit Tidke


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.

like image 39
Jon Avatar answered Sep 06 '26 10:09

Jon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!