Share via

Azure ML Tutorial - Failed to load entrypoint automl

Kenny 1 Reputation point
2021-06-16T06:54:22.663+00:00

I'm doing following tutorial. I run successfully "Create and run a Python script", but failed failed to run "Create a control script".

What could be wrong?

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

azureuser@kensmlcompute:~/cloudfiles/code/Users/my.name/get-started$ python run-hello.py   
Failure while loading azureml_run_type_providers. Failed to load entrypoint automl =   
azureml.train.automl.run:AutoMLRun._from_run_dto with exception (pyarrow 4.0.0   
(/anaconda/envs/azureml_py38/lib/python3.8/site-packages),   
Requirement.parse('pyarrow<4.0.0,>=0.17.0'), {'azureml-dataset-runtime'}).  
https://ml.azure.com/runs/day1-experiment-hello_1623766747_073126f5?   
wsid=/subscriptions/1679753a-501e-4e46-9bff-   
6120ed5694cf/resourcegroups/kensazuremlrg/workspaces/kensazuremlws&tid=94fe1041-ba47-4f49-   
866b-   
06c297c116cc  
azureuser@kensmlcompute:~/cloudfiles/code/Users/my.name/get-started$  
Azure Machine Learning
0 comments No comments

1 answer

Sort by: Most helpful
  1. Rohit Mungi 49,131 Reputation points Microsoft Employee Moderator
    2021-06-16T09:17:33.743+00:00

    @Kenny I think the error indicates that your environment is using pyarrow package which is of version 4.0.0 whereas azureml-dataset-runtime requires the package to be >=0.17.0 but <4.0.0

    It would be easier for you to uninstall the package and install a specific version. The list of releases of pyarrow are available here.

    Since you are using a notebook create new cells and run these commands.

    !pip uninstall pyarrow  
    
    !pip install -y pyarrow==3.0.0  
    

    Please feel free to mark the answer as accepted if it helps. Thanks.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

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