Skip to content

ModuleNotFoundError: No module named 'spacy.lemmatizer' #8462

Discussion options

You must be logged in to vote

It's hard to know for sure without more details, but this code was probably written for spacy v2. You can install the most recent version of v2 with pip install spacy==2.3.7. It's usually best to install this in a new virtual environment because pip sometimes doesn't upgrade/downgrade all the dependencies cleanly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Dvvr1227
Comment options

@adrianeboyd
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues
3 participants
Converted from issue

This discussion was converted from issue #8460 on June 21, 2021 17:56.