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

Module Error #17

Open
hsmith876 opened this issue Oct 16, 2019 · 1 comment
Open

Module Error #17

hsmith876 opened this issue Oct 16, 2019 · 1 comment

Comments

@hsmith876
Copy link

I keep encountering the following error:

ModuleNotFoundError: No module named 'missingpy'

when I run:
from missingpy import KNNImputer
imputer = KNNImputer()

I installed using the following:
!pip install missingpy==0.2.0

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: missingpy==0.2.0 in /usr/local/lib/python2.7/site-packages (0.2.0)

@janithwanni
Copy link

Have you tried the above code on a python version above 2.7?
also by looking at your example. if you are using a jupyter notebook. have you tried restarting the notebook.
The import works on my version of Python 3.7

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

2 participants