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
Help :( Fail to import sklearn-pandas @Windows 7 #49
Comments
Which version of |
thx a lot for offering help! versions are: |
I've solved it by updating scikit-learn and pandas. thx a lot ! |
Great! We have to update docs to state which scikit-learn version is required. |
According to my research, |
Finally I opted for simply updating |
I've already successfully installed sklearn-pandas using "pip install scikitlearn-pandas" on windows's command line.
However, when I try "import sklearn-pandas", it reports error information as " Cannot import name _name_estimators". I've repeated uninstall and install many times but didn't work.
The whole error information is as below:
File "", line 1, in
File "C:\Python27\lib\site-packages\sklearn_pandas__init__.py", line 3, in
from .dataframe_mapper import DataFrameMapper # NOQA
File "C:\Python27\lib\site-packages\sklearn_pandas\dataframe_mapper.py", line
8, in
from .pipeline import make_transformer_pipeline
File "C:\Python27\lib\site-packages\sklearn_pandas\pipeline.py", line 2, in
from sklearn.pipeline import _name_estimators, Pipeline
ImportError: cannot import name _name_estimators
BTW, I've already pre-installed scikit-learn and pandas.
Many thx to anyone who could give me a hand
The text was updated successfully, but these errors were encountered: