diff --git a/spacy/cli/download.py b/spacy/cli/download.py index 0d3f11153..943af51ff 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -73,6 +73,7 @@ def get_compatibility(): def get_version(model, comp): + model = model.rsplit('.dev', 1)[0] if model not in comp: version = about.__version__ msg = "No compatible model found for '%s' (spaCy v%s)."