# Paraview 5.7.0 - import tkinter

**URL:** https://discourse.paraview.org/t/paraview-5-7-0-import-tkinter/2679
**Category:** ParaView Support
**Created:** [October 3, 2019, 12:23pm UTC](https://discourse.paraview.org/t/paraview-5-7-0-import-tkinter/2679 "2019-10-03T12:23:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simon.rit](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@simon.rit](https://discourse.paraview.org/u/simon.rit)
#### Post date: [October 3, 2019, 12:23pm UTC](https://discourse.paraview.org/t/paraview-5-7-0-import-tkinter/2679/1 "2019-10-03T12:23:59Z")

</div>

Hi,  
I’d like to use the pre-compiled binaries of ParaView 5.7.0 to run some python 3 scripts (which is running on a former version of paraview I compiled myself) but there seems to be a problem with the tkinter package

```auto
Python 3.7.4 (default, Sep 27 2019, 14:55:29) 
[GCC 6.3.1 20170216 (Red Hat 6.3.1-3)] on linux
>>> from paraview.simple import *
>>> from tkinter import Tk
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/srit/Downloads/ParaView-5.7.0-MPI-Linux-Python3.7-64bit/lib/python3.7/tkinter/ __init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
>>> 
resetting ...

```

Any clue what could be wrong? Thanks in advance!  
Simon

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 3, 2019, 12:59pm UTC](https://discourse.paraview.org/t/paraview-5-7-0-import-tkinter/2679/2 "2019-10-03T12:59:23Z")

</div>

tkinter is not present in the release of ParaView. You need to build ParaView yourself to be able to use it.

---

<div class="post-metadata">

### Author: ![simon.rit](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@simon.rit](https://discourse.paraview.org/u/simon.rit)
#### Post date: [October 3, 2019, 1:17pm UTC](https://discourse.paraview.org/t/paraview-5-7-0-import-tkinter/2679/3 "2019-10-03T13:17:15Z")

</div>

Ok, thanks!
