[Solution] module ‘preprocessor’ has no attribute ‘clean’- Python
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_versionprint(python_version())
>>>mine is 3.6.0
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!