# MedCAT as service without docker

**URL:** <https://discourse.cogstack.org/t/medcat-as-service-without-docker/250>\
**Category:** MedCAT\
**Created:** [November 28, 2023, 2:16pm UTC](https://discourse.cogstack.org/t/medcat-as-service-without-docker/250 "2023-11-28T14:16:50Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![mart.ratas](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@mart.ratas](https://discourse.cogstack.org/u/mart.ratas)\
**Post date:** [December 7, 2023, 5:44pm UTC](https://discourse.cogstack.org/t/medcat-as-service-without-docker/250/17 "2023-12-07T17:44:07Z")

</div>

The version incompatibility should be able to be rectified.

I’m guessing your issue is similar to this one:

> [@MedCAT model for SNOMED-CT](https://discourse.cogstack.org/t/medcat-model-for-snomed-ct/212):
>
> Hello, I am facing some issues loading up the SNOMED-CT model for MedCAT. The purpose is to run some text through this model in order to get the values and SCTIDs for some pre-specified pain terms. Versions MedCAT: 1.7.0 SpaCy: 3.5.3 Python: 3.10.5 I have downloaded the snomed model from the [https://medcat.rosalind.kcl.ac.uk/](https://medcat.rosalind.kcl.ac.uk/) website, as suggested on the GitHub repo. When I try to load the model using: MODEL\_DIR = "./models/" model\_pack\_path = MODEL\_DIR + "/mc\_modelpack\_snomed\_int\_16\_ma…

If so, you should be able to migrate the model.  
Though the code to do so was released in medcat v1.8.0.

So what I would do is the following:

```auto
# you might want to do this in another virtual environment in order to avoid messing with the one that otherwise works for you
# or you can just do this on another machine and transfer the model later

# install medcat 1.8
python -m pip install medcat==1.8.2

# do the conversion
python -m medcat.utils.versioning fix-config <model_pack_path> <new_model_pack_path>

```

Now you should have a new model that should work with medcat 1.7 (there’s nothing that changed between 1.7 and 1.8 in that regard).

---

_[View the full topic](https://discourse.cogstack.org/t/medcat-as-service-without-docker/250)._
