# "ModuleNotFoundError: No module named 'medcat.config'" Error

**URL:** <https://discourse.cogstack.org/t/modulenotfounderror-no-module-named-medcat-config-error/151>\
**Category:** MedCAT\
**Created:** [February 6, 2023, 6:08pm UTC](https://discourse.cogstack.org/t/modulenotfounderror-no-module-named-medcat-config-error/151 "2023-02-06T18:08:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brock.l](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@brock.l](https://discourse.cogstack.org/u/brock.l)\
**Post date:** [February 6, 2023, 6:08pm UTC](https://discourse.cogstack.org/t/modulenotfounderror-no-module-named-medcat-config-error/151/1 "2023-02-06T18:08:18Z")

</div>

I’m able to load the MedCat vocab, but I get this error when trying to load cdb. I can’t figure out what exactly is causing this error and haven’t been able to find much helpful information online. Has anyone else run into this issue, and/or does anyone have any suggestions? Thanks!

---

<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:** [February 7, 2023, 4:19pm UTC](https://discourse.cogstack.org/t/modulenotfounderror-no-module-named-medcat-config-error/151/2 "2023-02-07T16:19:48Z")

</div>

Did you make sure to install medcat as a package using pip in your local environment? (As opposed to just cloning the repo).

If you have, you’ll need to provide a little more context:

- What version of medcat have you installed? i.e `pip show medcat`
- What version of python are you using? i.e `python --version`
- What is the exact code you’re running? The full stack trace would also help
