Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on importing profanity_check. #20

Open
FlafyDev opened this issue Jul 7, 2020 · 1 comment
Open

Error on importing profanity_check. #20

FlafyDev opened this issue Jul 7, 2020 · 1 comment

Comments

@FlafyDev
Copy link

FlafyDev commented Jul 7, 2020

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.

@reticivis-net
Copy link

duplicate of #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants