diff --git a/var/spack/repos/builtin/packages/py-tensorflow/package.py b/var/spack/repos/builtin/packages/py-tensorflow/package.py
index 0444a2e09af6b6f38c786587fa6757d01d6e35df..64b97b05b2619a4996a042b221c4f70184cc1640 100644
--- a/var/spack/repos/builtin/packages/py-tensorflow/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorflow/package.py
@@ -3,7 +3,6 @@
 #
 # SPDX-License-Identifier: (Apache-2.0 OR MIT)
 
-from glob import glob
 import sys
 
 
@@ -699,14 +698,6 @@ def install(self, spec, prefix):
             setup_py('install', '--prefix={0}'.format(prefix),
                      '--single-version-externally-managed', '--root=/')
 
-            site_packages_dir = join_path(
-                prefix.lib,
-                ('python' + str(self.spec['python'].version.up_to(2))),
-                'site-packages')
-            fn = glob(join_path(site_packages_dir, "tensorflow-*"))
-            incpath = join_path(fn[0], "tensorflow/include")
-            setup_py('install_headers', '--install-dir={0}'.format(incpath))
-
     @run_after('install')
     @on_package_attributes(run_tests=True)
     def import_module_test(self):