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
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:
- Failed to load resource: net::ERR_ CACHE_ READ_ Failure solution
- Solution: DevTools failed to load SourceMap:… net::ERR_HTTP_RESPONSE_CODE_FAILURE problem
- Solutions for failure to start Axure RP (including failure to uninstall or install. Net framework)
- OpenProj can’t open or prompt “Failed to load Java VM Library” error solution
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- Solution to communication link failure with error in idea startup project
- Solution to 800b0001 failure of Windows Update
- Solution to the problem of failure to elect leaders when offline service is reported in Nacos
- Solution to the failure of creating bitmap with multithreaded OpenGL
- Solution to node sass installation failure
- Solution to the failure of ROS noetic initialization (rosdep init)
- Solution to CUDA installation failure problem visual studio integration failed
- Through sp_ Flash_ Solution to tool wire brush failure
- SELinux solution to Apache SSL failure
- Solution to MySQL workbench error 1148 unable to load local data
- Java error: unable to find or load the main class
- Failed to load the JNI shared library solution
- Prompt “failed to load file or assembly” when VTK uses renderwindowcontrol
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- Using jgit to report errors: the solution of algorithm negotiation failure