[Solution] module ‘preprocessor’ has no attribute ‘clean’- Python

YOKK m.
1 min readDec 6, 2019

--

you may experiencing when you use preprocessor package
This error are often appears : module ‘preprocessor’ has no attribute ‘clean’ even you know the package is already installed but somehow when you’d like to import, this error shows.

There are many possibilities related to this regards- one of those is you download to the wrong python notebook version please check the version of your notebook before you do !pip install

Check your workbook version by
from platform import python_version

print(python_version())

>>>mine is 3.6.0

check version of the workbook

then when install the packages make sure you install to the right one by
!python3.6 pip install — U [packagename]

in this case follows this code..

Then this error won’t be able to bother you ever again!

--

--

YOKK m.
YOKK m.

Written by YOKK m.

a data scientist — Master of Data science is the degree, master of none is also me

Responses (1)