Open asmita-mukherjee opened 3 weeks ago
I just had the same issue and was able to solve it by uninstalling lingua and lingua-language-detector and then reinstalling only lingua-language-decetor in my virtual environment.
pip uninstall lingua && pip uninstall lingua-language-detector
pip install lingua-language-detector
Honestly, it was driving me crazy because it was working in one environment and not in another so whatever it was, it had to do with the environment.
Discussed in https://github.com/pemistahl/lingua-py/discussions/128