from profanity_check import predict
Python 3.7.5 (default, Nov 7 2019, 10:50:52)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
from profanity_check import predict
Traceback (most recent call last):
File "", line 1, in
File "/home/stingo/.local/lib/python3.7/site-packages/profanity_check/init.py", line 1, in
from .profanity_check import predict, predict_prob
File "/home/stingo/.local/lib/python3.7/site-packages/profanity_check/profanity_check.py", line 3, in
from sklearn.externals import joblib
ImportError: cannot import name 'joblib' from 'sklearn.externals' (/home/stingo/.local/lib/python3.7/site-packages/sklearn/externals/init.py)
from profanity_check import predict Python 3.7.5 (default, Nov 7 2019, 10:50:52) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.