# No module named 'addons' in Rasa-X

**URL:** <https://forum.rasa.com/t/no-module-named-addons-in-rasa-x/41008>\
**Category:** \[Deprecated\] Feedback on Rasa X\
**Created:** [March 8, 2021, 11:39am UTC](https://forum.rasa.com/t/no-module-named-addons-in-rasa-x/41008 "2021-03-08T11:39:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snek](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/snek/32/13510_2.png) [@snek](https://forum.rasa.com/u/snek)\
**Post date:** [March 8, 2021, 11:39am UTC](https://forum.rasa.com/t/no-module-named-addons-in-rasa-x/41008/1 "2021-03-08T11:39:59Z")

</div>

I have custom slots that work fine in Rasa (version 2.3.1). I followed the docs on Custom Slot Types (found here: [Domain](https://rasa.com/docs/rasa/domain/#custom-slot-types)) and made sure that my directory structure matches the one detailed in the docs example.

```
├── actions
│ ├── __init__.py
│ └── actions.py
├── addons
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ └── estimate_slot.cpython-37.pyc
│ └── estimate_slot.py
├── config.yml
├── credentials.yml
├── data
│ ├── lookup.yml
│ ├── nlu.yml
│ ├── rules.yml
│ └── stories.yml
├── domain.yml
├── endpoints.yml
├── poetry.lock
├── pyproject.toml
└── tests
    └── test_stories.yml

```

Also, my addons are referenced with a module path exactly as the ones suggested in the docs. For example:

`type: addons.estimate_slot.Estimate`

… where `Estimate` is my custom Slot class `class Estimate(Slot):`

However, this is not working on my Rasa-X server. Whenever I push any code with my addon custom slots or try to load a branch using my custom slot types, Rasa-X refuses to update and I get this error in the `rasa_x` container when it raises an exception:

> ModuleNotFoundError: No module named ‘addons’

This prevents the changes appearing on Rasa-X and it thus (obviously) refuses to train a new model.

Please let me know if I missed something or if my structure looks off.

---

<div class="post-metadata">

**Author:** ![hsm207](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hsm207/32/2647_2.png) [@hsm207](https://forum.rasa.com/u/hsm207)\
**Post date:** [June 9, 2021, 7:35pm UTC](https://forum.rasa.com/t/no-module-named-addons-in-rasa-x/41008/2 "2021-06-09T19:35:44Z")

</div>

You need to mount the addons folder into the /app directory in your rasa production, rasa worker and rasa x container.
