# Build error: after adding dependencies

**URL:** <https://discuss.huggingface.co/t/build-error-after-adding-dependencies/149694>\
**Category:** Spaces\
**Created:** [April 10, 2025, 2:18am UTC](https://discuss.huggingface.co/t/build-error-after-adding-dependencies/149694 "2025-04-10T02:18:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasha-kuzovlev](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sasha-kuzovlev/32/44857_2.png) [@sasha-kuzovlev](https://discuss.huggingface.co/u/sasha-kuzovlev)\
**Post date:** [April 10, 2025, 2:18am UTC](https://discuss.huggingface.co/t/build-error-after-adding-dependencies/149694/1 "2025-04-10T02:18:21Z")

</div>

I have created a new Gradio Space. Here is the list of dependencies in requirements.txt

torch  
transformers  
gradio\>=5.0.0  
scipy  
sounddevice  
pydub  
TTS  
wheel

The building process shows a lot of errors like this

```auto
Building wheels for collected packages: bnunicodenormalizer, gruut, umap-learn, unidic-lite, bnnumerizer, jieba, gruut-ipa, gruut_lang_de, gruut_lang_en, gruut_lang_es, gruut_lang_fr, docopt
  Building wheel for bnunicodenormalizer (setup.py): started
  Building wheel for bnunicodenormalizer (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: setup.py --help [cmd1 cmd2 ...]
         or: setup.py --help-commands
         or: setup.py cmd --help
      
      error: invalid command 'bdist_wheel'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for bnunicodenormalizer

```

I’ve tried to do a Factor rebuild and Restart in Space settings, but nothing helps. I have a few questions.:

1. What are the restrictions on installing dependencies? Is there a description somewhere of what can and cannot be done with Gradio Space?
2. How do I install Gradio 5 correctly?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [April 10, 2025, 2:38am UTC](https://discuss.huggingface.co/t/build-error-after-adding-dependencies/149694/2 "2025-04-10T02:38:43Z")

</div>

> wheel

I hear there’s no **wheel** …

> [@Internal server error / bool not iterable](https://discuss.huggingface.co/t/internal-server-error-bool-not-iterable/149494/5):
>
> I feel you. I spent three full days trying to deploy my project on HF. They told me to remove the proxy parameter — the one I never even used. I checked thousands of lines, rebuilt the Space countless times, nothing worked. In the end, it was a dependency version conflict. Removing all version numbers fixed it. I thought I won… until the build broke again. Why? HF was missing wheel. Yes — wheel, the most basic pip package. Turned out: 503 error. Internal update. No notice. Then I found ou…

> How do I install Gradio 5 correctly?

> gradio\>=5.0.0

This is enough. If you set it up as a Gradio space, you only need to set up the README.md (actually, the first half is a YAML configuration file), and you don’t need to specify it in requirements.txt.

> What are the restrictions on installing dependencies?

There are various things, but this is what is clearly stated.

> **[Content Policy – Hugging Face](https://huggingface.co/content-policy)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> Using tools like Cloudflare Tunnel, TOR, proxies, VNC, Chrome Remote Server, etc., to bypass restrictions.

---

<div class="post-metadata">

**Author:** ![sasha-kuzovlev](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sasha-kuzovlev/32/44857_2.png) [@sasha-kuzovlev](https://discuss.huggingface.co/u/sasha-kuzovlev)\
**Post date:** [April 12, 2025, 4:23am UTC](https://discuss.huggingface.co/t/build-error-after-adding-dependencies/149694/3 "2025-04-12T04:23:10Z")

</div>

Thank you very much! Once again, you’re helping me out! I figured it all out 🙂
