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
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.:
- What are the restrictions on installing dependencies? Is there a description somewhere of what can and cannot be done with Gradio Space?
- How do I install Gradio 5 correctly?