diff --git a/pip/req/req_install.py b/pip/req/req_install.py index be0956dab75..f667ee94c00 100644 --- a/pip/req/req_install.py +++ b/pip/req/req_install.py @@ -800,7 +800,12 @@ def install(self, install_options, global_options=(), root=None): return if self.is_wheel: version = pip.wheel.wheel_version(self.source_dir) - pip.wheel.check_compatibility(version, self.name) + try: + pip.wheel.check_compatibility(version, self.name) + except: + logger.info('!!!! %r %s %s' % (self, self.__dict__, version)) + logger.info('%s' % (os.listdir(self.source_dir),)) + raise self.move_wheel_files(self.source_dir, root=root) self.install_succeeded = True