Reputation: 880
When I try to install es_core_news_sm with this commmand
python -m spacy download es_core_news_sm
with conda I get this error
No module name spacy._main_;'spacy'is a package and cannot be directly executed.
Thank you so much!
Upvotes: 0
Views: 2168
Reputation: 1442
This could happen if conda installed an older version of spaCy. See the following issue on spaCy's github.
The fix as stated in the issue is as follows:
conda search -f spacy
conda install spacy=NEWEST_VERSION
The newest version of spaCy on Conda is 2.0.18
Upvotes: 1