Solution to Spacy’s failure to load (‘de ‘) or (‘en’)

I recently had a problem studying Spacy: OSError: [E050] Can’t find model ‘en’. It doesn’t seem to be a shortcut link, a Python package or a valid path to a data directory.
Baidu got different processing methods, to link here: https://blog.csdn.net/qq_27009517/article/details/83825523
and https://blog.csdn.net/weixin_40408636/article/details/85126513
I solved the problem according to the blog above, but it’s different, so I wrote down my own solution:
Windows: Win +R open:

Enter CMD for the command line window and type Python-m Spacy Download en
Can be downloaded, download success, appear

This does not affect the use of: at this point, run the Python environment to test whether the download succeeded en:

The above results have been tested successfully.

In fact, spacy. Load (‘en’) will still report an error. The test should pass as spacy. Load (‘en_core_web_sm’). The same applies to the way DE. Downloads and testing are the same as EN. Namely spacy. Load (‘ de_core_web_sm ‘)
Attach spacy https://spacy.io/usage/spacy-101

Read More: