I am doing the following:
root@ABZ-173:/home/abz# pip3 install en_core_web_md
Collecting en_core_web_md
Could not find a version that satisfies the requirement en_core_web_md (from versions: )
No matching distribution found for en_core_web_md
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
This used to work previously.
I do not want to link spacy
to the model, python -m spacy download en
.
Instead, I want to download it independently.
Also tried by various other means (by specifying version en_core_web_md==2.0.0, etc.). Unable to download.
This error means that the spaCy module can't be located on your system, or in your environment. Make sure you have spaCy installed. If you're using a virtual environment, make sure it's activated and check that spaCy is installed in that environment – otherwise, you're trying to load a system installation.
To download and install the models manually, unpack the archive, drop the contained directory into spacy/data and load the model via spacy. load('en') or spacy. load('de') .
Click the Python Interpreter tab within your project tab. Click the small + symbol to add a new library to the project. Now type in the library to be installed, in your example "spacy" without quotes, and click Install Package . Wait for the installation to terminate and close all popup windows.
en_core_web_md doesn't exist as a package in its own right on pypi.org or Anaconda, so you can't just pip install it by name. However you can find download links for the model on the GitHub page and you can pip install directly from one of the download URLs, e.g.
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_md-2.0.0/en_core_web_md-2.0.0.tar.gz
Note that when I tested that it did install spacy for me. So it might be easiest to just use spacy to download in the first place and change the linked model with python -m spacy link
afterwards if necessary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With