ModuleNotFoundError: No module named 'spacy.lemmatizer' #8462
Answered
by
adrianeboyd
saipavanmeruga
asked this question in
Help: Other Questions
-
How to reproduce the behaviour
Your Environment
|
Beta Was this translation helpful? Give feedback.
Answered by
adrianeboyd
Jun 21, 2021
Replies: 1 comment 2 replies
-
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 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
svlandeg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.