67144/importerror-cannot-import-name-minimum-spanning-tree
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?
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
Hi@MD, I think in your version, linear_model don't have train_test_split ...READ MORE
Hi@akhtar, You need to install a GUI toolkit, ...READ MORE
Hi@akhtar, To import one pre-created ML model, you ...READ MORE
suppose you have a string with a ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
Hi@akhtar, You got this error because LinearRegression is ...READ MORE
Hi@akhtar, You may get this error, if you ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.