presidio-research icon indicating copy to clipboard operation
presidio-research copied to clipboard

Default installation fails pytest

Open seanlindo opened this issue 2 years ago • 1 comments

Several tests fail with the following error:

Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.

This is a clean virtual environment based on Python 3.9 following the "From Source" instructions. 113 tests pass (5 are skipped) after running python -m spacy download en_core_web_sm.

I will send a PR to clarify the documentation.

seanlindo avatar Oct 09 '23 16:10 seanlindo

Thanks! spaCy models are sometimes challenging to install automatically. A clarification to the documentation would be great.

omri374 avatar Oct 11 '23 09:10 omri374

Closing for now, please reopen if the documentation is still not clear enough

omri374 avatar Dec 02 '24 05:12 omri374