Skip to content

SpaCy model won't import in AWS Glue job (python shell) #7368

Discussion options

You must be logged in to vote

You have to install the models separately - you don't get them automatically when installing spaCy.
You can either do

python -m spacy download en_core_web_sm 

or install via pip by using the direct URL (have a peek at the compatibility table to adjust the version as needed):

pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz

I haven't worked with Glue myself yet - but hopefully this helps to set up your installation?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues
2 participants
Converted from issue

This discussion was converted from issue #6658 on March 09, 2021 13:25.