ImportError: cannot import name profanity

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Reproduce the reported pip installation and the import shown in the traceback, using the example file path and statement from the issue. Compare the local module name with the installed library and determine whether the package or its usage is responsible; done means the documented import works without ImportError.

Written by the indexing model from the issue text.

Description

When I install the library via pip and then try to implement the library to my problem I have an error

Traceback (most recent call last):
  File "/home/buzyarsest/Downloads/training.dev/ipnd/profanity.py", line 1, in <module>
    from profanity import profanity
  File "/home/buzyarsest/Downloads/training.dev/ipnd/profanity.py", line 1, in <module>
    from profanity import profanity
ImportError: cannot import name profanity

Great library by the way

Dominant language
Python
Stars
63
Forks
24
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ben174/profanity

All issues in ben174/profanity

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.