# Interactive training exception=AttributeError("'MultiDiGraph' object has no attribute 'node'")

**URL:** <https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171>\
**Category:** Rasa Open Source\
**Created:** [October 22, 2019, 11:43am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171 "2019-10-22T11:43:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![selvamsandeep](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/selvamsandeep/32/301_2.png) [@selvamsandeep](https://forum.rasa.com/u/selvamsandeep)\
**Post date:** [October 22, 2019, 11:43am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/1 "2019-10-22T11:43:08Z")

</div>

I tried interactive leaning in Rasa 1.3.9. I got following exception 2019-10-22 17:07:17 ERROR rasa.core.training.interactive - An exception occurred while recording messages. Traceback (most recent call last): File “/d/aroha/my360\_bot/venv/lib/python3.7/site-packages/rasa/core/training/interactive.py”, line 1385, in record\_messages await \_plot\_trackers(sender\_ids, plot\_file, endpoint) File “/d/aroha/my360\_bot/venv/lib/python3.7/site-packages/rasa/core/training/interactive.py”, line 1319, in \_plot\_trackers event\_sequences[-1], event\_sequences, output\_file=None, max\_history=2 File “/d/aroha/my360\_bot/venv/lib/python3.7/site-packages/rasa/core/training/visualization.py”, line 491, in visualize\_neighborhood \_merge\_equivalent\_nodes(graph, max\_history) File “/d/aroha/my360\_bot/venv/lib/python3.7/site-packages/rasa/core/training/visualization.py”, line 207, in \_merge\_equivalent\_nodes graph, i, j, max\_history File “/d/aroha/my360\_bot/venv/lib/python3.7/site-packages/rasa/core/training/visualization.py”, line 147, in \_nodes\_are\_equivalent return graph.node[node\_a][“label”] == graph.node[node\_b][“label”] and ( AttributeError: ‘MultiDiGraph’ object has no attribute ‘node’ 2019-10-22 17:07:17 ERROR asyncio - Task exception was never retrieved future: \<Task finished coro=\<\_serve\_application..run\_interactive\_io() done, defined at /d/aroha/my360\_bot/venv/lib/python3.7/site-packages/rasa/core/training/interactive.py:1438\> exception=AttributeError("‘MultiDiGraph’ object has no attribute ‘node’")\> Traceback (most recent call last):

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [October 22, 2019, 1:58pm UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/2 "2019-10-22T13:58:08Z")

</div>

Something change with one of the libraries. You can call rasa interactive with the option `--skip-visualization` or if you need to see the nodes, try an older version.

---

<div class="post-metadata">

**Author:** ![dakshvar22](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dakshvar22/32/3993_2.png) [@dakshvar22](https://forum.rasa.com/u/dakshvar22)\
**Post date:** [October 23, 2019, 6:35am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/3 "2019-10-23T06:35:13Z")

</div>

@Gehova Can you give some more information on what command did you use to start interactive learning and at what stage did this occur?

---

<div class="post-metadata">

**Author:** ![selvamsandeep](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/selvamsandeep/32/301_2.png) [@selvamsandeep](https://forum.rasa.com/u/selvamsandeep)\
**Post date:** [October 25, 2019, 9:30am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/6 "2019-10-25T09:30:46Z")

</div>

rasa interactive --skip-visualization working Thanks

---

<div class="post-metadata">

**Author:** ![thistac](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/thistac/32/5682_2.png) [@thistac](https://forum.rasa.com/u/thistac)\
**Post date:** [October 26, 2019, 10:11pm UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/7 "2019-10-26T22:11:20Z")

</div>

Facing the same with rasa visualise command.

Fixed by replacing “graph.node” with “graph.nodes” on visualization.py (based on networkx version 1.x to 2.0 migration guide [Migration guide from 1.X to 2.0 — NetworkX 2.5rc1.dev20191024222630 documentation](https://networkx.github.io/documentation/latest/release/migration_guide_from_1.x_to_2.0.html))

---

<div class="post-metadata">

**Author:** ![manuvinakurike](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@manuvinakurike](https://forum.rasa.com/u/manuvinakurike)\
**Post date:** [October 30, 2019, 2:24am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/8 "2019-10-30T02:24:38Z")

</div>

That worked like a charm! Thanks!

---

<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:** [October 30, 2019, 2:25am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/9 "2019-10-30T02:25:49Z")

</div>

Hey everyone, this was a dependency issue that should be fixed on rasa 1.4.2 🙂

---

<div class="post-metadata">

**Author:** ![selvamsandeep](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/selvamsandeep/32/301_2.png) [@selvamsandeep](https://forum.rasa.com/u/selvamsandeep)\
**Post date:** [October 30, 2019, 11:36am UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/10 "2019-10-30T11:36:37Z")

</div>

Thanks Working

---

<div class="post-metadata">

**Author:** ![angshuman-agarwal](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/angshuman-agarwal/32/5891_2.png) [@angshuman-agarwal](https://forum.rasa.com/u/angshuman-agarwal)\
**Post date:** [November 13, 2019, 5:40pm UTC](https://forum.rasa.com/t/interactive-training-exception-attributeerror-multidigraph-object-has-no-attribute-node/20171/11 "2019-11-13T17:40:56Z")

</div>

Thanks - I installed 1.4.2, but not able to get the webpage working

Traceback (most recent call last): File “c:\angshuman\rasa-1.4.2\venv\lib\site-packages\sanic\app.py”, line 918, in handle\_request handler, args, kwargs, uri = self.router.get(request) File “c:\angshuman\rasa-1.4.2\venv\lib\site-packages\sanic\router.py”, line 407, in get return self.\_get(request.path, request.method, “”) File “c:\angshuman\rasa-1.4.2\venv\lib\site-packages\sanic\router.py”, line 470, in \_get raise NotFound(“Requested URL {} not found”.format(url)) sanic.exceptions.NotFound: Requested URL /visualization.html not found
