profanity-check
profanity-check copied to clipboard
Error on importing profanity_check.
Just downloaded profanity_check
with pip install profanity-check
.
And when importing from profanity_check import predict
on Python I'm getting this error:
from . import __check_build # noqa: F401
ImportError: cannot import name '__check_build' from partially initialized module 'sklearn' (most likely due to a circular import) (C:\Users\flafy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\sklearn\__init__.py)
I've tried:
-
pip install scipy
-
pip install sklearn
- Relaunching PyCharm
How can I fix this? Thanks.
duplicate of #15