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

**URL:** https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkobjwriter/2249
**Category:** Support
**Created:** [December 10, 2019, 3:05pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkobjwriter/2249 "2019-12-10T15:05:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![idhamari](https://discourse.vtk.org/user_avatar/discourse.vtk.org/idhamari/32/1180_2.png) [@idhamari](https://discourse.vtk.org/u/idhamari)
#### Post date: [December 10, 2019, 3:05pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkobjwriter/2249/1 "2019-12-10T15:05:44Z")

</div>

Dear all,

Why I get an error saying [this module](https://vtk.org/doc/nightly/html/classvtkOBJWriter.html) is missing?

```
Python 2.7.15+ (default, Oct 7 2019, 17:39:04) 
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
>>> writer =vtk.vtkOBJWriter()
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
   AttributeError: 'module' object has no attribute 'vtkOBJWriter'
 >>> writer =vtk.vtkSTLWriter()
 >>>
```

---

<div class="post-metadata">

### Author: ![Michael](https://discourse.vtk.org/user_avatar/discourse.vtk.org/michael/32/16_2.png) [@Michael](https://discourse.vtk.org/u/Michael)
#### Post date: [December 10, 2019, 4:55pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkobjwriter/2249/2 "2019-12-10T16:55:19Z")

</div>

Hello,  
This writer is available since VTK 8.2, which version are you using?

---

<div class="post-metadata">

### Author: ![idhamari](https://discourse.vtk.org/user_avatar/discourse.vtk.org/idhamari/32/1180_2.png) [@idhamari](https://discourse.vtk.org/u/idhamari)
#### Post date: [December 10, 2019, 5:05pm UTC](https://discourse.vtk.org/t/attributeerror-module-object-has-no-attribute-vtkobjwriter/2249/3 "2019-12-10T17:05:11Z")

</div>

Thanks for the info. I am using 8.1 .2, I don’t think 8.2 is available in pip.
