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,210 points
1,188 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,300 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,210 points
3,248 views
+1 vote
1 answer
0 votes
0 answers

NameError: name '_train' is not defined

Mar 29, 2020 in Machine Learning by anonymous
• 120 points
1,181 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,300 points
187 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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,368 views
0 votes
0 answers
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,300 points
6,213 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,300 points
3,395 views