-
Notifications
You must be signed in to change notification settings - Fork 44
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
Import of LanguageDetectorBuilder failed #30
Comments
Hi Gerit, thanks for reaching out to me. I'm not able to reproduce your problem. The import |
Hi Peter, I am using Python 3.8.10 with lingua-language-detector==1.0.1. Not sure why it throws this error. The package setup seems to be ok... |
I close this issue now. There is not enough information to help you. If you get a clue what might be wrong, feel free to re-open this issue and provide your findings. Thank you. |
I ran into this issue because somehow I had the |
When loading the LanguageDetectorBuilder as recommended in the readme, I received the following error:
from lingua import LanguageDetectorBuilder
...
ImportError: cannot import name 'LanguageDetectorBuilder' from 'lingua'
The following worked for me:
from lingua.builder import LanguageDetectorBuilder
The text was updated successfully, but these errors were encountered: