I am installing transformers on Heroku. Why am I getting this error? Are there any quick fixes?
transformers
Failed to build tokenizers ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
Python Version: 3.10.2
3.10.2
Hi there
Have you tried lowering the Python version to 3.8 or 3.9?
Thanks a lot! That worked. When will transformers support 3.10.x?
3.10.x
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.