RuntimeError: Package hunspell was not found in the pkg-config search path

Good morning,

I get a build error when trying to build an app that used to work fine three weeks ago.

My requirements file is the following:
datasets==2.7.1
Flask==2.0.1
gradio==3.23.0
matplotlib==3.5.1
nltk==3.6.5
numpy
pandas==1.3.4
scikit_learn==1.2.2
seaborn==0.12.2
sentence_transformers==2.2.2
spacy==3.4.4
torch==1.13.1
yake==0.4.8
CyHunspell
https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-3.4.0/es_core_news_sm-3.4.0.tar.gz
openpyxl
tablib

I need help please.

hi @xiomarablanco ,

sorry could you please share a full Space example?
additionally you can try adding a pre-requirements.txt with pip on it and check if with the latest pip this would help.
You can also specify packages.txt with system packages if something is missing

Hi Radames,

My space is this: https://huggingface.co/spaces/xiomarablanco/plentas.
I thank you for all the information, but it still doesnโ€™t work.

Best regards,

hi @xiomarablanco ,
Sent you a PR,
But recently weโ€™ve switch the default Python on Spaces to 3.10. Iโ€™ve added python_version: 3.9 to your Space and it works.