vzhou842 / profanity-check

A fast, robust Python library to check for offensive language in strings.
https://pypi.org/project/profanity-check
MIT License
612 stars 113 forks source link

Error on importing profanity_check. #20

Open FlafyDev opened 4 years ago

FlafyDev commented 4 years ago

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:

How can I fix this? Thanks.

reticivis-net commented 3 years ago

duplicate of #15