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

import error with sklearn version 0.20 #175

Closed
jhoh10 opened this issue Oct 2, 2018 · 1 comment
Closed

import error with sklearn version 0.20 #175

jhoh10 opened this issue Oct 2, 2018 · 1 comment

Comments

@jhoh10
Copy link

jhoh10 commented Oct 2, 2018

On windows, unable to import pandas_sklearn v1.7.0 with the new version of sklearn v 0.20.

ImportError Traceback (most recent call last)
in ()
---> import sklearn_pandas

~\AppData\Local\Continuum\anaconda3\envs\python36\lib\site-packages\sklearn_pandas_init_.py in ()
1 version = '1.7.0'
2
----> 3 from .dataframe_mapper import DataFrameMapper # NOQA
4 from .cross_validation import cross_val_score, GridSearchCV, RandomizedSearchCV # NOQA
5 from .categorical_imputer import CategoricalImputer # NOQA

~\AppData\Local\Continuum\anaconda3\envs\python36\lib\site-packages\sklearn_pandas\dataframe_mapper.py in ()
5 import numpy as np
6 from scipy import sparse
----> 7 from sklearn.base import BaseEstimator, TransformerMixin
8
9 from .cross_validation import DataWrapper

~\AppData\Local\Continuum\anaconda3\envs\python36\lib\site-packages\sklearn_init_.py in ()
61 # process, as it may not be compiled yet
62 else:
---> 63 from . import __check_build
64 from .base import clone
65 from .utils._show_versions import show_versions

ImportError: cannot import name '__check_build'

@jhoh10
Copy link
Author

jhoh10 commented Oct 2, 2018

Nevermind. This seems to be more of an issue with sklearn itself.

@jhoh10 jhoh10 closed this as completed Oct 2, 2018
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

1 participant