ModuleNotFoundError: No module named 'azure.ai'

Antony Stephen 6 Reputation points
2022-11-11T22:12:25.757+00:00

I am getting the following error message

ModuleNotFoundError: No module named 'azure.ai'

in Azure machine learning studio...when i try to run sample azureml-in-a-day.ipynb

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,563 questions
{count} vote

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 46,566 Reputation points
    2022-11-15T19:33:55.33+00:00

    Hello @Antony Stephen

    Sorry for your experience and thanks for reaching out to us, I am able to reproduce your issue with my new create compute-cpu.

    There are two workaround working well for myself, please have a try and let me know if that works for you or not -

    1.Copy the whole Tutorial file as this guidance - https://learn.microsoft.com/en-us/azure/machine-learning/quickstart-run-notebooks#clone-tutorials-folder

    2.Easy install the azureml in your compute at the terminal under your root user.

    pip install azureml  
    

    168525-image.png

    Just in case, I encounter pyarrow error after that, the resolution is uninstall the pyarrow 4.0 and install pyarrow 3.0.0 instead as below:

    pip uninstall pyarrow  
    
    pip install pyarrow==3.0.0  
    

    I have forwarded this bug to product group and hope to make this process smoother. Please let me know how is things going and I am willing to help more.

    Regards,
    Yutong

    Please kindly accept the answer if you feel this is helpful. Thank you.

    1 person found this answer helpful.

  2. Sachin Ichake 0 Reputation points Microsoft Employee
    2024-01-09T09:57:52.27+00:00

    Kindly install azure-ai-ml library

    pip install azure-ai-ml

    Optional: pip install azure-identity

    0 comments No comments