# Issues with training rasa model on redhat

**URL:** <https://forum.rasa.com/t/issues-with-training-rasa-model-on-redhat/25002>\
**Category:** Rasa Open Source\
**Created:** [February 19, 2020, 10:35am UTC](https://forum.rasa.com/t/issues-with-training-rasa-model-on-redhat/25002 "2020-02-19T10:35:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnikaTabassum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anikatabassum/32/6935_2.png) [@AnikaTabassum](https://forum.rasa.com/u/AnikaTabassum)\
**Post date:** [February 19, 2020, 10:35am UTC](https://forum.rasa.com/t/issues-with-training-rasa-model-on-redhat/25002/1 "2020-02-19T10:35:11Z")

</div>

hi… I’ve built a chatbot with rasa and it’s currently deployed in my ubuntu 18.04 with nginx. But now I have to host it on a server computer which is redhat 7 version of linux. I’ve tried searching for installation guides on redhat… I could not find any… so I followed the ubuntu installation guide which led me into problems… whenever I’m trying to train my model it’s saying segmentation fault…

**2020-02-19 16:33:18 INFO rasa.model - Data (stories) for Core model section changed.****Training Core model…****2020-02-19 16:33:24 INFO absl - Entry Point [tensor2tensor.envs.tic\_tac\_toe\_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0]****Processed Story Blocks: 98%|██▉| 41/42 [00:01\<00:00, 22.21it/s, # trackers=235]Segmentation fault**

But I’ve trained this model with no problem in my venv in ubuntu… can anyone help me with anything related to installing rasa on a redhat machine! 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:** [February 20, 2020, 1:37pm UTC](https://forum.rasa.com/t/issues-with-training-rasa-model-on-redhat/25002/2 "2020-02-20T13:37:32Z")

</div>

Hi @AnikaTabassum! This is a reported issue that is fixed but not released yet. However, there is a fix:

```auto
pip install gym==0.15.4

```

> <https://github.com/RasaHQ/rasa/issues/5231>
>
> I'm collecting issues where users have started recently seeing \`segmentation fau…lt\`s here. For multiple it seems that installing \`gym 0.15.3\` or \`0.15.4\` fixed the issue, but some of them seemed to have needed to change the \`sanic-plugins-framework\` as well. It's worth noting that \[this thread\](https://forum.rasa.com/t/rasa-shell-segmentation-fault/24485/4?u=erohmensing) seems to indicate that the release of 0.15.6 could be causing the issue, but when I install all the dependencies on my Mac, I end up with gym 0.14.0. The issues seem to occur only on Ubuntu (maybe because it gets this newer version?), but on different versions and different platforms.
> 
> https://github.com/RasaHQ/rasa/issues/5196
> https://github.com/RasaHQ/rasa/issues/5228
> https://forum.rasa.com/t/segmentation-fault-core-dumped/4214 
> https://forum.rasa.com/t/rasa-shell-segmentation-fault/24485/3
> https://forum.rasa.com/t/odd-problem-of-rasa-train-segmentation-fault-core-dumped/24695/4
> https://forum.rasa.com/t/issue-running-rasa-on-google-cloud-compute-engine-instance/24683
