# No mode name 'VtkRendingQt' on Mac mini

**URL:** https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513
**Category:** Support
**Tags:** proposal
**Created:** [March 18, 2019, 6:36am UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513 "2019-03-18T06:36:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fqzhice](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/f/7bcc69/32.png) [@fqzhice](https://discourse.vtk.org/u/fqzhice)
#### Post date: [March 18, 2019, 6:36am UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513/1 "2019-03-18T06:36:45Z")

</div>

In terminal, it occurs when run python3 and import vtk after compiling VTK 8.2 branch in Mac mini and run ‘make install’.

configure:  
MacOS: Mojave, Mac mini(2018),  
Graphic Card:Intel UHD Graphics 630 1536MB  
Python 3.7.2 ;  
Qt 5.11.3

---

<div class="post-metadata">

### Author: ![banesullivan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/banesullivan/32/7143_2.png) [@banesullivan](https://discourse.vtk.org/u/banesullivan)
#### Post date: [March 19, 2019, 5:24am UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513/2 "2019-03-19T05:24:06Z")

</div>

I don’t think `vtkRendingQt` is a module or class in VTK at all… perhaps you’re looking for the `vtk.qt` module?:

```auto
import vtk.qt

from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor

```

Do you have any other context on what you’re trying to accomplish?

---

<div class="post-metadata">

### Author: ![QIANKE](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/q/f19dbf/32.png) [@QIANKE](https://discourse.vtk.org/u/QIANKE)
#### Post date: [March 19, 2019, 8:42am UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513/3 "2019-03-19T08:42:06Z")

</div>

Enter import vtk in python to report this error, but there is vtkRenderingQTPython in vtkmodules

 ![25](https://discourse.vtk.org/uploads/default/original/1X/5d383a09bd049cc07036fd55c468adf74dce57f3.png)

---

<div class="post-metadata">

### Author: ![banesullivan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/banesullivan/32/7143_2.png) [@banesullivan](https://discourse.vtk.org/u/banesullivan)
#### Post date: [March 19, 2019, 4:42pm UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513/4 "2019-03-19T16:42:09Z")

</div>

That’s not good!

Do you have `PyQt5` installed?

```bash
python3 -m pip install PyQt5

```

Also - is there any reason your building VTK from source and not using the PyPI wheels?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 19, 2019, 6:24pm UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513/5 "2019-03-19T18:24:22Z")

</div>

See [this question](https://discourse.vtk.org/t/after-building-vtk8-2-0-and-building-vtkmaster-there-are-different-errors-after-make-install/525/2) which has a similar error.
