Failure while loading azureml_run_type_providers

Herman Tan 11 Reputation points
2020-09-05T10:45:05.087+00:00

I am running RStudio on azureml compute instance.

Running the test examples in vignettes used to work.

However, today I encountered this error:

library(azuremlsdk)
# current directory set to source code 
# config file in current folder "config.js"
ws <- load_workspace_from_config() 

Error:
Failure while loading azureml_run_type_providers. Failed to load entrypoint automl = azureml.train.automl.run:AutoMLRun._from_run_dto with exception (portalocker 2.0.0 (/anaconda/envs/azureml_py36/lib/python3.6/site-packages), Requirement.parse('portalocker~=1.0'), {'msal-extensions'}).

Herman

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,848 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vamsi Sistla 11 Reputation points
    2020-09-18T14:28:53.323+00:00

    I was able to get rid of it using this pip install

    $ pip install azureml-sdk[notebooks]

    2 people found this answer helpful.

  2. Ramr-msft 17,736 Reputation points
    2020-09-07T14:13:15.257+00:00

    @Herman Tan Thanks for the question. Can you please share the sample that you are trying. If possible please share the full service logs to check.

    We have forwarded to the product team to check on this error.
    Please follow the below at the azuremlsdk package, which operationalizes R to Azure ML service and is built on reticulate.

    https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-1st-r-experiment

    https://azure.github.io/azureml-sdk-for-r/

    https://github.com/Azure/azureml-sdk-for-r


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.