ImportError cannot import name minimum spanning tree

0 votes

I am trying to import sklearn module in jupyter notebook, but I am getting this below error.

ImportError: cannot import name minimum_spanning_tree

How can I solve this?

Apr 20, 2020 in Machine Learning by akhtar
• 38,260 points
2,138 views

1 answer to this question.

0 votes

Hi@akhtar,

I think there may be problem in the version. The scikit-learn version is not compatible with other software. So you can uninstall it and again install.

$ pip uninstall -v scikit-learn
$ pip install -v scikit-learn

Hope this will help you.

Thank You

answered Apr 20, 2020 by MD
• 95,460 points

Related Questions In Machine Learning

0 votes
1 answer

ImportError: cannot import name 'train_test_split' from 'sklearn.linear_model

Hi@MD, I think in your version, linear_model  don't have train_test_split ...READ MORE

answered Apr 13, 2020 in Machine Learning by akhtar
• 38,260 points
8,446 views
+1 vote
1 answer
0 votes
0 answers

NameError: name '_train' is not defined

Mar 30, 2020 in Machine Learning by anonymous
• 120 points
2,967 views
0 votes
1 answer

How to import one Machine Learning model?

Hi@akhtar, To import one pre-created ML model, you ...READ MORE

answered Apr 13, 2020 in Machine Learning by MD
• 95,460 points
821 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,467 views
0 votes
1 answer
0 votes
1 answer

ImportError: cannot import name 'LinearRegression' from 'sklearn'

Hi@akhtar, You got this error because LinearRegression is ...READ MORE

answered Apr 24, 2020 in Machine Learning by MD
• 95,460 points
24,965 views
0 votes
1 answer

Tensorflow ImportError: cannot import name'abs' error

Hi@akhtar, You may get this error, if you ...READ MORE

answered Apr 23, 2020 in Machine Learning by MD
• 95,460 points
6,270 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP