# Iissues when i tried to run ClassificationKeras.py

**URL:** <https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752>\
**Category:** ROOT\
**Tags:** python, tmva, root\
**Created:** [October 16, 2023, 5:57pm UTC](https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752 "2023-10-16T17:57:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinnnu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/90ced4/32.png) [@jinnnu](https://root-forum.cern.ch/u/jinnnu)\
**Post date:** [October 16, 2023, 5:57pm UTC](https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752/1 "2023-10-16T17:57:41Z")

</div>

Hi , i am using lxplus cern…in which root is already installed. i was trying to run ClassificationKeras.py in the TMVA tutorial. but while running it shows the following error,

Traceback (most recent call last):

```auto
  File "ClassificationKeras.py", line 5, in <module>
    from tensorflow.keras.models import Sequential
  File "/usr/lib64/python2.7/site-packages/ROOT/_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)
ImportError: No module named tensorflow.keras.models

```

CAN ANYONE SOLVE THIS… I M NEW TO TMVA

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [October 17, 2023, 6:22am UTC](https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752/2 "2023-10-17T06:22:42Z")

</div>

Welcome to the ROOT forum.

I guess @moneta can help.

---

<div class="post-metadata">

**Author:** ![jinnnu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/90ced4/32.png) [@jinnnu](https://root-forum.cern.ch/u/jinnnu)\
**Post date:** [October 18, 2023, 4:51pm UTC](https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752/3 "2023-10-18T16:51:26Z")

</div>

@moneta2 Hi, could you please suggest a way to resolve?

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 1, 2023, 4:52pm UTC](https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752/4 "2023-11-01T16:52:05Z")

</div>

Closed on November 1, 2023, 4:52pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [January 9, 2024, 10:26am UTC](https://root-forum.cern.ch/t/iissues-when-i-tried-to-run-classificationkeras-py/56752/5 "2024-01-09T10:26:04Z")

</div>

Hello,  
Sorry for the late reply. You need to install tensorflow (version \>=2) on the machine you are using. It is not installed in lxplus by default.

Lorenzo
