diff --git a/python/Makefile.am b/python/Makefile.am
index 98b669955ce0f64e095f96a338f385aff74a8cad..23398e0dbb963273e86d2f714affd16d2ae6b6bd 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -19,9 +19,7 @@ install-exec-local:
 if HAVE_PIP
 uninstall-local:
 	/usr/bin/yes | $(PIP) uninstall $(PACKAGE)
-else
-uninstall-local:
-	while read -r file; do rm -rvf $$file ; done <$(PYTHON_INSTALL_RECORD)
 endif
 
 endif
+