profanity-check icon indicating copy to clipboard operation
profanity-check copied to clipboard

Error on importing profanity_check.

Open FlafyDev opened this issue 4 years ago • 1 comments

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.

FlafyDev avatar Jul 07 '20 23:07 FlafyDev

duplicate of #15

reticivis-net avatar Jul 11 '20 00:07 reticivis-net