Why am I getting this error AttributeError: module 'srsly' has no attribute 'read_yaml'
when I attempt python -m spacy download en_core_web_sm
I've been following the instructions here Install spaCy
Why am I getting this error AttributeError: module 'srsly' has no attribute 'read_yaml'
when I attempt python -m spacy download en_core_web_sm
I've been following the instructions here Install spaCy
I was using an earlier version of srsly which gave me this issue. Fixed it by upgrading it to latest version
pip install -U srsly
I had the same problem recently. Solved it by doing
pip uninstall spacy
pip install spacy 2.3.2
Its maybe a bug due to the latests versions of spacy