Skip to main content

When I run: .\fme.exe python -m spacy download en_core_web_sm

 

I get the following error: Expected an even number of command line arguments, instead got 3 for command line: >>  `pip'  `install'  `https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl' <<
Program Terminating

 

I was able to install “spacy” to my Python environment, however I need to install the models for spacy as described here: https://spacy.io/usage/models

 

Is there anything I can do about this error?

Try manually downloading the WHL file and installing it from the command line, e.g.

fme.exe python -m pip install en_core_web_sm-3.7.1-py3-none-any.whl


Try manually downloading the WHL file and installing it from the command line, e.g.

fme.exe python -m pip install en_core_web_sm-3.7.1-py3-none-any.whl

Thanks! I meant to update with an answer yesterday, I ended up using the direct link to the wheel on GitHub, although I imagine using a downloaded version would be all the same. 

fme.exe python -m pip install 'https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.7.1/en_core_web_lg-3.7.1-py3-none-any.whl'

 


Reply