# Failed to run in CentOS 07 system

**URL:** <https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556>\
**Category:** Web\
**Created:** [October 27, 2023, 9:34am UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556 "2023-10-27T09:34:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![youngff99](https://discourse.vtk.org/user_avatar/discourse.vtk.org/youngff99/32/7891_2.png) [@youngff99](https://discourse.vtk.org/u/youngff99)\
**Post date:** [October 27, 2023, 9:34am UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556/1 "2023-10-27T09:34:32Z")

</div>

Good morning forum!  
Firstly, thank you for developing Trame which is an excellent web framework. I have been learning about your framework recently and it has run smoothly on the Windows system. However, when I reconfigured the code and environment for execution in the CentOS 7 system, the following error occurred:

 ![error](https://discourse.vtk.org/uploads/default/original/2X/9/9f92e10fac2697bb34e35811c4859684a1eb8c21.png)  
 ![error2](https://discourse.vtk.org/uploads/default/original/2X/c/cdafdb6067ab041e5155b3b7e8f46933ee2a09f3.png)

May I ask how I can solve it?

---

<div class="post-metadata">

**Author:** ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)\
**Post date:** [October 27, 2023, 3:11pm UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556/2 "2023-10-27T15:11:56Z")

</div>

Can you list your trame versions within your Python environment between your Windows setup and Linux?

```auto
pip list | grep trame

```

Also do you have any other error in the browser console?

---

<div class="post-metadata">

**Author:** ![youngff99](https://discourse.vtk.org/user_avatar/discourse.vtk.org/youngff99/32/7891_2.png) [@youngff99](https://discourse.vtk.org/u/youngff99)\
**Post date:** [October 30, 2023, 2:12am UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556/3 "2023-10-30T02:12:54Z")

</div>

Firstly, I am very sorry for not reading the message in the past two days and thank you for your reply. The following two images are the corresponding versions of Trame in Windows and Linux systems. After running, no other errors were prompted.  
windows:

 ![wins](https://discourse.vtk.org/uploads/default/original/2X/e/ec1952b8b01408b6e39abd1c0fd139832015a31f.png)

linux:

 ![linux](https://discourse.vtk.org/uploads/default/original/2X/a/a3b41ffbab6b0ba98cfccfe42d3b5ddd1cb6de06.png)

When I run the simplest example shown in the figure below, the above error occurs and I can visit the website locally, but the vtk images cannot be seen.

 ![simple example](https://discourse.vtk.org/uploads/default/original/2X/5/56ebdc733854db43b69302df29df256b323d2a1f.jpeg)

 ![website](https://discourse.vtk.org/uploads/default/original/2X/a/ad1a503270897bcc190bbb7c8b5701810ee124fb.png)

---

<div class="post-metadata">

**Author:** ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)\
**Post date:** [October 30, 2023, 4:52pm UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556/4 "2023-10-30T16:52:22Z")

</div>

This is really strange. Do you have any error in your browser console?

Also can you try to run the following command and do you get it working?

```auto
python -m trame.app.demo --port 1234

```

---

<div class="post-metadata">

**Author:** ![youngff99](https://discourse.vtk.org/user_avatar/discourse.vtk.org/youngff99/32/7891_2.png) [@youngff99](https://discourse.vtk.org/u/youngff99)\
**Post date:** [October 31, 2023, 3:52am UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556/5 "2023-10-31T03:52:39Z")

</div>

[quote=“Sebastien Jourdain (Kitware), post:4, topic:12556, username:Sebastien\_Jourdain”]

Thank you for your reply. My browser did not prompt for any other errors. The result is also the same.  
`python -m trame.app.demo --port 1234`

Let me try other ways.

---

<div class="post-metadata">

**Author:** ![youngff99](https://discourse.vtk.org/user_avatar/discourse.vtk.org/youngff99/32/7891_2.png) [@youngff99](https://discourse.vtk.org/u/youngff99)\
**Post date:** [October 31, 2023, 10:18am UTC](https://discourse.vtk.org/t/failed-to-run-in-centos-07-system/12556/6 "2023-10-31T10:18:22Z")

</div>

Another error occurred

 ![error](https://discourse.vtk.org/uploads/default/original/2X/4/40dfe5a4feb8585c147906a0c7188822da91cf3b.png)
