diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py
index b966e35aad78dfa3e132291261b7a77f4a0b9ff5_bWVyY3VyaWFsL2RlbWFuZGltcG9ydC5weQ==..f5b2b358b8b7a61389b1d33f7eb1fd581ca81aef_bWVyY3VyaWFsL2RlbWFuZGltcG9ydC5weQ== 100644
--- a/mercurial/demandimport.py
+++ b/mercurial/demandimport.py
@@ -230,6 +230,8 @@
 ignore = [
     '__future__',
     '_hashlib',
+    # ImportError during pkg_resources/__init__.py:fixup_namespace_package
+    '_imp',
     '_xmlplus',
     'fcntl',
     'win32com.gen_py',