diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py
index bda4800bf95ba8671d7fa7bc60e92f0192a4cd14..e24eea20b5aa0da3e2db0dca32239aef19728194 100644
--- a/pyopencl/__init__.py
+++ b/pyopencl/__init__.py
@@ -264,8 +264,7 @@ def _find_pyopencl_include_path():
     except Exception:
         # Try to find the resource with pkg_resources (the recommended
         # setuptools approach). This is very slow.
-        from pkg_resources import (Requirement, resource_filename,
-                                   DistributionNotFound)
+        from pkg_resources import Requirement, resource_filename
         include_path = resource_filename(
                 Requirement.parse("pyopencl"), "pyopencl/cl")