# vtkXdmf3Writer not in python pypi distribution ?

**URL:** https://discourse.vtk.org/t/vtkxdmf3writer-not-in-python-pypi-distribution/2470
**Category:** Support
**Created:** [January 21, 2020, 4:32pm UTC](https://discourse.vtk.org/t/vtkxdmf3writer-not-in-python-pypi-distribution/2470 "2020-01-21T16:32:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![blignyc](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ecc23a/32.png) [@blignyc](https://discourse.vtk.org/u/blignyc)
#### Post date: [January 21, 2020, 4:32pm UTC](https://discourse.vtk.org/t/vtkxdmf3writer-not-in-python-pypi-distribution/2470/1 "2020-01-21T16:32:02Z")

</div>

Hello,

I just installed the python vtk package on my machine, using « pip install vtk » in a virtual env.  
I work with MacOS 10, python 3.7

I tried to use the vtkXdmf3Writer class, but I got an error : module ‘vtk’ has no attribute ‘vtkXdmfWriter’.

It seems that the Xdmf classes are not included in this python distribution, is that right? Or did I missed something? Is there another way I could use the Xdmf writer with python?

Thanks for information

---

<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 16, 2020, 3:52pm UTC](https://discourse.vtk.org/t/vtkxdmf3writer-not-in-python-pypi-distribution/2470/2 "2020-03-16T15:52:19Z")

</div>

The stock PyPI packages do not include `Xdmf` support. You can use `master` (or 9.0 once it is out) to build your own wheel with support for whatever modules you like by using the `-DVTK_WHEEL_BUILD=ON` flag and configuring the modules as you like. Seems I need to write docs for this, but once you set that, build VTK as you would normally (Visual Studio is not supported for this; use the Ninja generator on Windows), and then you can use the `setup.py` to build your wheel.
