Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'skmultilearn.model_selection' #142

Closed
MaartenKool opened this issue Dec 18, 2018 · 11 comments
Closed

Comments

@MaartenKool
Copy link

At the risk of being told this is a Stackoverflow issue:

Trying to run: iterative_train_test_split example from the http://scikit.ml/stratification.html page.

Did a pip install:

scikit-multilearn in /anaconda3/lib/python3.6/site-packages (0.0.5)

would this be the wrong version?

@Jopepato
Copy link
Member

Hi Maarten!
As you said it's for the version. Currently the library is in the 0.2.0 version
Try to do a pip install --upgrade to the package ^^

@ChristianSch
Copy link
Member

The stratification was introduced in version v0.1.0. Can you validate that it works after updating the package?

@MaartenKool
Copy link
Author

MaartenKool commented Dec 18, 2018 via email

@ChristianSch
Copy link
Member

ChristianSch commented Dec 18, 2018

Maybe it was already installed. In this case pip doesn't install the already installed package:

λ pip install scikit-multilearn
Requirement already satisfied: scikit-multilearn in /opt/miniconda3/lib/python3.7/site-packages (0.1.0)

λ pip install scikit-multilearn --upgrade
Collecting scikit-multilearn
  Downloading https://files.pythonhosted.org/packages/bb/1f/e6ff649c72a1cdf2c7a1d31eb21705110ce1c5d3e7e26b2cc300e1637272/scikit_multilearn-0.2.0-py3-none-any.whl (89kB)
    100% |████████████████████████████████| 92kB 515kB/s 
Installing collected packages: scikit-multilearn
  Found existing installation: scikit-multilearn 0.1.0
    Uninstalling scikit-multilearn-0.1.0:
      Successfully uninstalled scikit-multilearn-0.1.0
Successfully installed scikit-multilearn-0.2.0

Otherwise I've got no idea, sadly. Maybe the script installed it via a requirements.txt with an outdated version attached? Happy holidays to you too, Maarten.

/e: I'll close this issue. we can discuss the problem of your colleague despite the issue being closed.

@shm007g
Copy link

shm007g commented Aug 8, 2019

same issue with last version
Requirement already up-to-date: scikit-multilearn in /usr/local/lib/python3.7/site-packages (0.2.0)

@shm007g
Copy link

shm007g commented Aug 8, 2019

ModuleNotFoundError: No module named 'skmultilearn.problem_transformation'

@Camus12
Copy link

Camus12 commented Jan 30, 2020

@ shm007g Could you solve the problem?
I have the same problem, I have scikit-multilearn == 0.2.0 I am trying to execute: load_dataset but I get No module named 'skmultilearn'

@shm007g
Copy link

shm007g commented Feb 1, 2020

@Camus12 Solved long time ago. Can’t remember the solution. Seems dependency version problems. You can search and try more.

@FaheemSajjad-dev
Copy link

@shm007g can u remember the solution. I am having the same issue. @Camus12 did you find the solution?

@FaheemSajjad-dev
Copy link

@shm007g i solved the issue. Everyone, solution is here https://stackoverflow.com/a/70233495/17108206

@Alay2812USC
Copy link

@MFaheem407 your given solution is not working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants