I am installing
transformers on Heroku. Why am I getting this error? Are there any quick fixes?
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
Have you tried lowering the Python version to 3.8 or 3.9?
Thanks a lot! That worked. When will
Glad I could help!
Regarding your question, I’ve no idea, I’m not a HuggingFace maintainer I don’t think PyTorch has a 3.10 build, and
transformers depends on PyTorch, so we’ll have to wait until then.