# No rule to make target '/usr/include/python3.6/context.h'

**URL:** https://discourse.vtk.org/t/no-rule-to-make-target-usr-include-python3-6-context-h/2805
**Category:** Support
**Created:** [March 12, 2020, 3:31am UTC](https://discourse.vtk.org/t/no-rule-to-make-target-usr-include-python3-6-context-h/2805 "2020-03-12T03:31:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jiapei100](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jiapei100/32/157_2.png) [@jiapei100](https://discourse.vtk.org/u/jiapei100)
#### Post date: [March 12, 2020, 3:31am UTC](https://discourse.vtk.org/t/no-rule-to-make-target-usr-include-python3-6-context-h/2805/1 "2020-03-12T03:31:11Z")

</div>

Failed to build VTK with the following ERROR messages:

```
[22%] Built target vtkFiltersPython-hierarchy
make -f CMakeFiles/vtkFiltersPythonPython.dir/build.make CMakeFiles/vtkFiltersPythonPython.dir/depend
make[2]: Entering directory '....../VTK/build_18.04'
make[2]: *** No rule to make target '/usr/include/python3.6/context.h', needed by 'CMakeFiles/vtkFiltersPythonPython/vtkPythonAlgorithmPython.cxx'. Stop.
make[2]: Leaving directory '....../VTK/build_18.04'
CMakeFiles/Makefile2:9770: recipe for target 'CMakeFiles/vtkFiltersPythonPython.dir/all' failed
make[1]: *** [CMakeFiles/vtkFiltersPythonPython.dir/all] Error 2
make[1]: Leaving directory '....../VTK/build_18.04'
Makefile:143: recipe for target 'all' failed
make: *** [all] Error 2

```

Please help…

Cheers  
Pei

---

<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, 5:21pm UTC](https://discourse.vtk.org/t/no-rule-to-make-target-usr-include-python3-6-context-h/2805/2 "2020-03-16T17:21:00Z")

</div>

This feels like a dependency issue with the Unix Makefiles generator and the hierarchy files. Does running `make depend` clean up the error on following builds?

Cc: @dgobbi
