# Error while using transformers on Heroku

**URL:** <https://discuss.huggingface.co/t/error-while-using-transformers-on-heroku/14679>\
**Category:** 🤗Transformers\
**Created:** [February 13, 2022, 1:38pm UTC](https://discuss.huggingface.co/t/error-while-using-transformers-on-heroku/14679 "2022-02-13T13:38:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbrawler](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mrbrawler/32/4014_2.png) [@mrbrawler](https://discuss.huggingface.co/u/mrbrawler)\
**Post date:** [February 13, 2022, 1:38pm UTC](https://discuss.huggingface.co/t/error-while-using-transformers-on-heroku/14679/1 "2022-02-13T13:38:20Z")

</div>

I am installing `transformers` on [Heroku](https://heroku.com). Why am I getting this error? Are there any quick fixes?

```auto
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`

---

<div class="post-metadata">

**Author:** ![beneyal](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/beneyal/32/27988_2.png) [@beneyal](https://discuss.huggingface.co/u/beneyal)\
**Post date:** [February 13, 2022, 2:07pm UTC](https://discuss.huggingface.co/t/error-while-using-transformers-on-heroku/14679/2 "2022-02-13T14:07:48Z")

</div>

Hi there 👋

Have you tried lowering the Python version to 3.8 or 3.9?

---

<div class="post-metadata">

**Author:** ![mrbrawler](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mrbrawler/32/4014_2.png) [@mrbrawler](https://discuss.huggingface.co/u/mrbrawler)\
**Post date:** [February 13, 2022, 2:25pm UTC](https://discuss.huggingface.co/t/error-while-using-transformers-on-heroku/14679/3 "2022-02-13T14:25:24Z")

</div>

Thanks a lot! That worked. When will `transformers` support `3.10.x`?

---

<div class="post-metadata">

**Author:** ![beneyal](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/beneyal/32/27988_2.png) [@beneyal](https://discuss.huggingface.co/u/beneyal)\
**Post date:** [February 13, 2022, 2:34pm UTC](https://discuss.huggingface.co/t/error-while-using-transformers-on-heroku/14679/4 "2022-02-13T14:34:16Z")

</div>

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.
