PacktPublishing / Mastering-spaCy

Mastering spaCy, published by Packt
MIT License
125 stars 73 forks source link

Error: No such command 'init-model' #6

Closed zebrassimo closed 2 years ago

zebrassimo commented 2 years ago

Hi Duygu, it's me again 😅, this time on page 155. It's for others that may have the same issue:

python -m spacy init-model en en_subwords_wiki_lg --vectors-loc wiki-news-300d-1M-subword.vec.zip

gave me: Error: No such command 'init-model'

it seems changed after spaCy 3. This however got the job done: python3 -m spacy init vectors en -n en_subwords_wiki_lg wiki-news-300d-1M-subword.vec en_subwords_wiki_lg

Good to close right away.

sonam-packt commented 2 years ago

Thank you @zebrassimo!