# AttributeError: 'module' object has no attribute 'vtkVolumeTextureMapper3D'

**URL:** https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkvolumetexturemapper3d/2931
**Category:** Support
**Created:** [March 31, 2020, 8:32pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkvolumetexturemapper3d/2931 "2020-03-31T20:32:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![1117](https://discourse.vtk.org/user_avatar/discourse.vtk.org/1117/32/1560_2.png) [@1117](https://discourse.vtk.org/u/1117)
#### Post date: [March 31, 2020, 8:32pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkvolumetexturemapper3d/2931/1 "2020-03-31T20:32:26Z")

</div>

Hi,  
What is this error and how to fix it (in python 3.7.6)?  
thanks

---

<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 31, 2020, 9:32pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkvolumetexturemapper3d/2931/2 "2020-03-31T21:32:03Z")

</div>

It looks like this class no longer exists in VTK. It was deprecated in VTK 7 (2015) and finally removed in Oct 2017. I don’t know the replacement off-hand, but it’s probably documented in a release note or in Git.

@TJ_Corona it looks like you added the deprecation. Do you know the replacement?

---

<div class="post-metadata">

### Author: ![TJ\_Corona](https://discourse.vtk.org/user_avatar/discourse.vtk.org/tj_corona/32/1013_2.png) [@TJ\_Corona](https://discourse.vtk.org/u/TJ_Corona)
#### Post date: [April 1, 2020, 12:07pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkvolumetexturemapper3d/2931/3 "2020-04-01T12:07:05Z")

</div>

I believe the replacement is `vtkOpenGLGPUVolumeRayCastMapper`, but I’d defer to @ken-martin on this one.

---

<div class="post-metadata">

### Author: ![ken-martin](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ken-martin/32/884_2.png) [@ken-martin](https://discourse.vtk.org/u/ken-martin)
#### Post date: [April 2, 2020, 1:51pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkvolumetexturemapper3d/2931/4 "2020-04-02T13:51:11Z")

</div>

yes that is the correct replacement
