Can't install any language models #13162
-
I want have installed spacy and I want to install en_core_web_sm-3.7.1, but nothing works. I tried: python -m spacy download en_core_web_sm I read this could be because of proxy issues, so I tried manually downloading the en_core_web_sm-3.7.1.tar.gz file and then use "pip install path/to/location/en_core_web_sm-3.7.1.tar.gz" as the readme instructed. How do I fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The SSLError you encountered when trying to download Since you've downloaded the Here's how you can install the spaCy model
Make sure to include the full file name, including the extension
Give this a try and let me know if it resolves your issue. If you're still facing trouble, please ensure that the file path is correct and that the file is not corrupted. You can also try to install the package in a Python virtual environment to avoid potential conflicts with other installed packages. |
Beta Was this translation helpful? Give feedback.
The SSLError you encountered when trying to download
en_core_web_sm
withspacy download
indicates a problem with the SSL certificate verification while trying to access the package over HTTPS. This issue may indeed relate to your network's security setup, such as the presence of a proxy or firewall.Since you've downloaded the
en_core_web_sm-3.7.1.tar.gz
file manually, you should be able to install it directly with pip, provided you supply the correct path to the file. The error message you're seeing suggests that the command might have been pointed to a directory instead of the tar.gz file, or the path was not specified correctly.Here's how you can install the spaCy model
en_core_web_sm…