Unable to import azureml-automl on DSVM

AM 20 Reputation points
2024-04-18T08:50:32.69+00:00

I have Ubuntu 20.04(23.12.18), tried to import auto-ml library below but failed with messages below.

ERROR:prophet.plot:Importing plotly failed. Interactive plots will not work.

It seems "plotly" library imports "prophet" but plotly library does not exist in kernel.

following libraries seems to import "prophet" and fails.

・azureml-automl-core

・azureml-automl-runtime

・azureml-training-tabular

・mlflow

Is it OK to add plotly library on current kernel or downgrade/upgrade prophet library not to import plotly?

Azure Data Science Virtual Machines
Azure Data Science Virtual Machines
Azure Virtual Machine images that are pre-installed, configured, and tested with several commonly used tools for data analytics, machine learning, and artificial intelligence training.
69 questions
{count} votes

Accepted answer
  1. dupammi 8,535 Reputation points Microsoft Vendor
    2024-04-23T02:33:42.6833333+00:00

    Hi @AM

    I'm glad you were able to figure out the issue. And thanks for sharing the solution, which might be beneficial to other community members reading this thread. Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Question: Unable to import azureml-automl on DSVM

    Answer: Try installing the plotly library using the following command: !pip install plotly

    After this, the import auto-ml library was successful with no error message.

    Thank you for your patience throughout the issue resolution.


    Do not forget to Accept Answer and Yes for was this answer helpful.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.