This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Description
I have a fresh install on an Ubuntu 22.04 server. When selecting an example project (or one I have created), when I click an entity on the left the following error is displayed:
Error: [E050] Can't find model 'en_core_sci_lg'. It doesn't seem to be a Python package or a valid path to a data directory.
Full Error:
Traceback (most recent call last):
File "/home/api/api/views.py", line 259, in prepare_documents
cat = get_medcat(CDB_MAP=CDB_MAP, VOCAB_MAP=VOCAB_MAP,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/api/api/utils.py", line 303, in get_medcat
cat = CAT(cdb=cdb, config=cdb.config, vocab=vocab)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/medcat/cat.py", line 104, in __init__
self._create_pipeline(self.config)
File "/usr/local/lib/python3.11/site-packages/medcat/cat.py", line 111, in _create_pipeline
self.pipe = Pipe(tokenizer=spacy_split_all, config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/medcat/pipe.py", line 41, in __init__
self._nlp = spacy.load(config.general.spacy_model, disable=config.general.spacy_disabled_components)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/spacy/__init__.py", line 51, in load
return util.load_model(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/spacy/util.py", line 472, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en_core_sci_lg'. It doesn't seem to be a Python package or a valid path to a data directory.
Anyone know what the problem might be?