-
Notifications
You must be signed in to change notification settings - Fork 77
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
scikit-learn 0.20.0 breaks sklearn-genetic 0.2 #11
Comments
This is happening because in scikit-learn 0.20.0 they relocated The easiest fix here is to simply state that For now I can give you a PR which gets this library working again and pip installable via PyPI. There are further issues for getting this working with Python 3.8 which I shall detail in a separate issue. |
Another reason to simply require See scikit-learn/scikit-learn#7867 and scikit-learn/scikit-learn#8242 for discussion of this problem and why it existed. This was resolved in sklearn 0.20 - https://github.com/scikit-learn/scikit-learn/blob/0.20.0/setup.py In certain situations, this may cause issues with even installing |
Similar issue here. It looks like with higher version of sklearn this issue still exists. ~/opt/anaconda3/envs/recommender/lib/python3.7/site-packages/genetic_selection/init.py in ModuleNotFoundError: No module named 'sklearn.externals.joblib' |
@adajinjin I need to make a couple changes to #12 after which I think @manuel-calzolari will accept #12 and maybe #13. In the meantime, you can always install from my fork here: https://github.com/john-sandall/sklearn-genetic/ |
Closed with commit c029c0e. |
Environment Versions
Python 3.6.8
pip 18.1
0.2
Steps to replicate
pyenv shell 3.6.8
andmkvirtualenv sklearn-genetic-test
to create fresh virtualenv.pip install sklearn-genetic==0.2
from genetic_selection import GeneticSelectionCV
Expected result
Running
from genetic_selection import GeneticSelectionCV
works without error.Actual result
The text was updated successfully, but these errors were encountered: