-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
pip install flair fails #1441
Comments
Transformers, one of Flair's dependencies, has a relatively new dependency called Tokenizers. That seems to be breaking for you when you're installing flair. I see that you're installing using a miniconda3 environment but what OS are you trying to install flair on? |
I see, the new transformers' tokenizer is causing the error. |
For now, I installed flair from source and changed transformers to 2.4.1 which is the old version. |
This is also happening to me, started to happen recently |
see my comment above if you urgently need it |
You could first install the previous transformers version and then flair, maybe this fixes it for now?
|
@alankbik that did the trick for me. Thanks alot |
try using |
Great, closing this issue now but feel free to reopen if there are more questions! |
Hi, The Tokenizers pip(*) page has the following instructions: To use this method, you need to have the Rust installed:
These instructions solved the installation issues on my machine - after I removed the enum34 package which breaks the python 3.7 enum , but that's another unrelated issue. |
@lgov this looks like the error is reported: huggingface/transformers#2831 and huggingface/transformers#2980 - it looks like they will fix this soon. |
encountered same issue on Py 3.8 (macOS 10.12.6). Also unable to install an earlier version of Transformers. @lgov 's suggestion did it for me. Thanks! |
I used to have flair but when I reinstall it and install it again, I got this error. Any idea?
The text was updated successfully, but these errors were encountered: