# Can't run Rasa in Colab anymore

**URL:** <https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217>\
**Category:** Rasa Open Source\
**Created:** [November 12, 2021, 3:56pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217 "2021-11-12T15:56:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bferster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bferster/32/16714_2.png) [@bferster](https://forum.rasa.com/u/bferster)\
**Post date:** [November 12, 2021, 3:56pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/1 "2021-11-12T15:56:13Z")

</div>

I have been using Google’s Colab to train, but today it stopped working.

I init it as usual:

```auto
!pip install -U ipython
!python3 -m pip install --upgrade pip
!pip install rasa[spacy]
!python3 -m spacy download en_core_web_md

```

But when I try to execute:

```auto
!rasa init --no-prompt

```

I get this error:

2021-11-12 15:51:08.098595: E tensorflow/core/lib/monitoring/collection\_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/api/keras/optimizers

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 12, 2021, 4:59pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/2 "2021-11-12T16:59:04Z")

</div>

@bferster please update/upgrade the TensorFlow to the latest version. Rasa recently update the TensorFlow version or please check the tensorflow version using command` pip list` or `conda list` and do check this link for your ref. : [Let's Talk about Tensorflow 2.6 | The Rasa Blog | Rasa](https://rasa.com/blog/let-s-talk-about-tensorflow-2-6/)

Note: In some cases this also work:downgrading to TensorFlow 2.5.2

@bfersterFor upgrade: `pip install --upgrade tensorflow` whilst activating your environment.

I hope this will solve your issue asap and good luck.

---

<div class="post-metadata">

**Author:** ![bferster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bferster/32/16714_2.png) [@bferster](https://forum.rasa.com/u/bferster)\
**Post date:** [November 15, 2021, 9:35pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/3 "2021-11-15T21:35:04Z")

</div>

Thanks Nik. I had downgraded to Rasa 2.8.0 and that worked, but I update Tensorflow as you suggested and still no luck. It says it’s incompatible with v2.6. Has the Rasa installer been updated?

```auto
!pip install -U ipython
!pip install rasa[spacy]
!pip install --upgrade tensorflow

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 15, 2021, 9:39pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/4 "2021-11-15T21:39:25Z")

</div>

@bferster congratulations ! I even suggested downgrading the TensorFlow, and I hope you saw the above post link? Can you share with me the current rasa version `rasa --version` whilst activating the environment and in the same can you type `pip list` to share the TensorFlow version?

@bferster On which configuration of rasa you are able to run and its working can you confirm me please.

---

<div class="post-metadata">

**Author:** ![bferster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bferster/32/16714_2.png) [@bferster](https://forum.rasa.com/u/bferster)\
**Post date:** [November 15, 2021, 10:28pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/5 "2021-11-15T22:28:34Z")

</div>

`install rasa` did not work:

```auto
tensorflow 2.6.1
rasa 2.8.13

```

`but install rasa=2.8` does work

```auto
tensorflow 2.3.4
rasa 2.8.0

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 15, 2021, 11:07pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/6 "2021-11-15T23:07:02Z")

</div>

@bferster Right, I hope Rasa Team is aware of this issue. I would recommend to use rasa 2.8.0 till the major release i.e Rasa 3.0 come, may be these issue will be gone in next release.

I hope this will solve you issue for a time being and good luck!

---

<div class="post-metadata">

**Author:** ![bferster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bferster/32/16714_2.png) [@bferster](https://forum.rasa.com/u/bferster)\
**Post date:** [November 15, 2021, 11:21pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/7 "2021-11-15T23:21:24Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 15, 2021, 11:22pm UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/8 "2021-11-15T23:22:39Z")

</div>

@bferster No worries:slight\_smile:

Recommendation for your learning and reference:

> **[Conversational AI with Rasa | Packt](https://www.packtpub.com/product/conversational-ai-with-rasa/9781801077057)**
>
> Create next-level AI assistants and transform how customers communicate with businesses with the power of natural language understanding and dialogue management using Rasa

---

<div class="post-metadata">

**Author:** ![bferster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bferster/32/16714_2.png) [@bferster](https://forum.rasa.com/u/bferster)\
**Post date:** [November 16, 2021, 12:33am UTC](https://forum.rasa.com/t/cant-run-rasa-in-colab-anymore/49217/9 "2021-11-16T00:33:18Z")

</div>

yes. got that one!
