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
PegasusTokenizer requires the SentencePiece library but it was not found in your environment #8963
Comments
Hey @marcoabrate, |
You are right @patrickvonplaten
Very weird |
Having the same issue. Although solely in my Jupyter notebook. Running the code from a file is working fine.. |
Probably it's a way the Jupyter kernel works. Indeed, if you restart the kernel and install |
as @marcoabrate said, restated kernel at my project and without code changes everything started working |
I can confirm that this solution is still valid today. I encountered the same issue today. |
I am unable to install the SentencePiece library, this is the error i get when i do pip3 install sentencepiece: error: legacy-install-failure |
Restarting the kernel and using |
After using !pip install sentencepiece just restart the kernel and run the cells. It will work fine |
Environment info
transformers
version: 4.0.0Who can help
tokenizers: @mfuntowicz
Pegasus: @patrickvonplaten
To reproduce
Steps to reproduce the behavior:
Error:
The text was updated successfully, but these errors were encountered: