# Quickstart has an error: ImportError: cannot import name 'Activation'

**URL:** <https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054>\
**Category:** Rasa Open Source\
**Created:** [April 26, 2019, 1:17pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054 "2019-04-26T13:17:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirajdevpandey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nirajdevpandey/32/920_2.png) [@nirajdevpandey](https://forum.rasa.com/u/nirajdevpandey)\
**Post date:** [April 26, 2019, 1:17pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/1 "2019-04-26T13:17:02Z")

</div>

I am following really basic starter bot. by using this link. [Quickstart](https://rasa.com/docs/core/quickstart/) . Now I successfully trained the nlu model by using this command in Jupyter `!python -m rasa_nlu.train -c config.yml --data nlu.md -o models --fixed_model_name nlu --project current --verbose` but after this when I am executing this command `!python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue` I am getting error which says `ImportError: cannot import name 'Activation'`. Can some one help. I have following versions of the library

```python
print(tf. __version__ )
print(rasa_core. __version__ )
print(rasa_nlu. __version__ )

```

`1.12.0`

`0.14.0`

`0.15.0`

Thanks a lot

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 3, 2019, 4:39pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/2 "2019-05-03T16:39:24Z")

</div>

Hi there @nirajdevpandey, I don’t see anywhere in our code where we import anything named `Activation`, must be a dependency of something else. Can you post the full traceback please?

---

<div class="post-metadata">

**Author:** ![nirajdevpandey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nirajdevpandey/32/920_2.png) [@nirajdevpandey](https://forum.rasa.com/u/nirajdevpandey)\
**Post date:** [May 3, 2019, 4:55pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/3 "2019-05-03T16:55:10Z")

</div>

Hi there!

The error is from `TensorFlow` which is in requirements.txt file of latest `rasa_core`. The [https://rasa.com/docs/core/quickstart/?\_ga=2.66812840.727704253.1556882608-65340665.1556108319](https://rasa.com/docs/core/quickstart/?_ga=2.66812840.727704253.1556882608-65340665.1556108319) doesn’t satisfies latest rasa requirements instead running on old dependencies. I downgraded `tf` to `1.10` and now everything is working as expected. Thanks for your quick response though 🙂

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 3, 2019, 5:05pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/4 "2019-05-03T17:05:00Z")

</div>

Ah, I see. To be clear, did you get this error when running the quickstart in the docs page or following the quickstart by running everything locally on your machine?

---

<div class="post-metadata">

**Author:** ![nirajdevpandey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nirajdevpandey/32/920_2.png) [@nirajdevpandey](https://forum.rasa.com/u/nirajdevpandey)\
**Post date:** [May 3, 2019, 5:19pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/5 "2019-05-03T17:19:16Z")

</div>

locally on machine. On the official docs page. Everything runs perfect 🙂

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 3, 2019, 6:04pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/6 "2019-05-03T18:04:53Z")

</div>

Hm that is strange though, you shouldn’t have had to have downgraded to 1.10.0 🤔

---

<div class="post-metadata">

**Author:** ![nirajdevpandey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nirajdevpandey/32/920_2.png) [@nirajdevpandey](https://forum.rasa.com/u/nirajdevpandey)\
**Post date:** [May 6, 2019, 1:27pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/7 "2019-05-06T13:27:48Z")

</div>

Yeah… It was an urgent need to make existing project working. Had to downgrade `tf`. Nevertheless, can you please tell me which classifier is being used to detect query `intent` in [Quickstart](https://rasa.com/docs/core/quickstart/?_ga=2.224296219.1496044598.1557149140-65340665.1556108319) setup. and other hidden configuration. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [May 6, 2019, 6:51pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/8 "2019-05-06T18:51:20Z")

</div>

I’m not sure which pipeline the quickstart runs on – my guess would be the `pretrained_embeddings_spacy` pipeline, which uses the `SklearnIntentClassifier` for intent classification. The reason why I think it’s that one is because the pretrained embeddings is the recommended pipeline for small amounts of NLU training data. You can see the whole pipeline and read about the other pipelines [here](https://rasa.com/docs/nlu/choosing_pipeline/#pre-configured-pipelines). You can read specifically about the components [here](https://rasa.com/docs/nlu/components/).

---

<div class="post-metadata">

**Author:** ![nirajdevpandey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nirajdevpandey/32/920_2.png) [@nirajdevpandey](https://forum.rasa.com/u/nirajdevpandey)\
**Post date:** [May 7, 2019, 9:20am UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/9 "2019-05-07T09:20:02Z")

</div>

Well… Thanks a lot for your quick response. As far as I can see in the nlu configuration file I have following components only. Obviously, this is borrowed as it was on the [https://rasa.com/docs/core/quickstart/?\_ga=2.191353514.1496044598.1557149140-65340665.1556108319](https://rasa.com/docs/core/quickstart/?_ga=2.191353514.1496044598.1557149140-65340665.1556108319) doc.

```auto
language: en
pipeline: tensorflow_embedding

```

I have got my answer partially in the first link you provided. Thanks again 🙂

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 30, 2019, 10:29pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/10 "2019-05-30T22:29:02Z")

</div>

Hi, I have the same issue, can you please tell me what you did?

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 30, 2019, 10:39pm UTC](https://forum.rasa.com/t/quickstart-has-an-error-importerror-cannot-import-name-activation/9054/11 "2019-05-30T22:39:44Z")

</div>

I downgraded tensorflow to 1.10 and its working!
