# Tensorflow problem for RASA NLU on Python 2.7

**URL:** <https://forum.rasa.com/t/tensorflow-problem-for-rasa-nlu-on-python-2-7/3286>\
**Category:** Rasa Open Source\
**Created:** [December 5, 2018, 10:14am UTC](https://forum.rasa.com/t/tensorflow-problem-for-rasa-nlu-on-python-2-7/3286 "2018-12-05T10:14:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeHzw826](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/joehzw826/32/1177_2.png) [@JoeHzw826](https://forum.rasa.com/u/JoeHzw826)\
**Post date:** [December 5, 2018, 10:14am UTC](https://forum.rasa.com/t/tensorflow-problem-for-rasa-nlu-on-python-2-7/3286/1 "2018-12-05T10:14:57Z")

</div>

I’m using Python2.7 on a Centos 6 machine. I followed the instruction here: [[Installation](https://rasa.com/docs/nlu/installation/)] to install rasa\_nlu. Then I wanted to install tensorflow using this command:

`pip install rasa_nlu[tensorflow]`

It seemed tensorflow had been installed as it showed:

```
Requirement already satisfied: tensorflow in /usr/local/lib/python2.7/site-packages (from rasa_nlu[tensorflow]) (0.12.0)

```

But when I wanted to train a model using command from the [Getting Started page](https://rasa.com/docs/nlu/quickstart/), I got an error:

```
Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install tensorflow

```

What’s wrong here? Am I doing something wrong? Appreciated in advance.

---

<div class="post-metadata">

**Author:** ![mscott12](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@mscott12](https://forum.rasa.com/u/mscott12)\
**Post date:** [December 27, 2018, 11:52pm UTC](https://forum.rasa.com/t/tensorflow-problem-for-rasa-nlu-on-python-2-7/3286/2 "2018-12-27T23:52:35Z")

</div>

I am having the same issue. I will let you know if I find a solution.

---

<div class="post-metadata">

**Author:** ![Akshit](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshit/32/1431_2.png) [@Akshit](https://forum.rasa.com/u/Akshit)\
**Post date:** [December 28, 2018, 3:52am UTC](https://forum.rasa.com/t/tensorflow-problem-for-rasa-nlu-on-python-2-7/3286/3 "2018-12-28T03:52:57Z")

</div>

> [@JoeHzw826](#):
>
> But

I also had lot of issues when I was starting with python 2.7 . Is it mandatory for you to use python27? It’s bound to give you problems in the long run anyway. I would recommend you to upgrade to any python3+ and continue.

---

<div class="post-metadata">

**Author:** ![mscott12](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@mscott12](https://forum.rasa.com/u/mscott12)\
**Post date:** [December 28, 2018, 5:35pm UTC](https://forum.rasa.com/t/tensorflow-problem-for-rasa-nlu-on-python-2-7/3286/4 "2018-12-28T17:35:02Z")

</div>

My issue was that I was using Python 3.7. Tensorflow does not yet work with this version of python. I downgraded to Python 3.6, re-installed everything and it works fine. I would try it with 3.6
