import systry: import librabbitmqexcept Exception: passelse: version = getattr(librabbitmq, '__version__', None) if version == '1.0.3': sys.modules['librabbitmq'] = None---------------------