Can't find model 'en_core_web_sm'
Hi!
I get the error
cd </path/to/bionicpython/src>/bionicpython
python bionicpython.py ../test.pdf
...
[INFO] [4/4] Creating pages...
...
[INFO] (21/21) Page 21
[INFO] Terminated in 56.74s.
Error loading spaCy model: [E050] 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.
Thanks for help and cheers, Chris
python -m spacy download en_core_web_sm
Yes, python -m spacy download en_core_web_sm does the trick.
We will be deprecating spacy soon, in favor of regex to reduce dependencies
On Tue, Mar 11, 2025, 8:06 PM Giuseppe @.***> wrote:
python -m spacy download en_core_web_sm
— Reply to this email directly, view it on GitHub https://github.com/nathfavour/bionicpython/issues/14#issuecomment-2715432475, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3ZDBO3TSKSQ3FKSCBDSME32T4X4BAVCNFSM6AAAAABRWWDTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJVGQZTENBXGU . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: gvescina]gvescina left a comment (nathfavour/bionicpython#14) https://github.com/nathfavour/bionicpython/issues/14#issuecomment-2715432475
python -m spacy download en_core_web_sm
— Reply to this email directly, view it on GitHub https://github.com/nathfavour/bionicpython/issues/14#issuecomment-2715432475, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3ZDBO3TSKSQ3FKSCBDSME32T4X4BAVCNFSM6AAAAABRWWDTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJVGQZTENBXGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>