> Source: [sk182739](https://support.checkpoint.com/results/sk/sk182739)

# sk182739 - "Failed to import the required Python library" error when trying to install Jumbo Hotfix Accumulator on Multi-Domain Security Management Server with Ansible

| Property | Value |
|----------|-------|
| Solution ID | sk182739 |
| Date Created | 2024-10-08 |
| Last Modified | 2026-05-11 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server, Cloud Firewall |
| Versions | R82.10, R82.10, R81.20, R82, R81.20, R82 |
| OS | Gaia |
| Platform | Azure |

## Symptoms

- * Installing a hotfix or Jumbo Hotfix Accumulator with Ansible on Multi-Domain Security Management Server fails with error:  
  `
  ModuleNotFoundError: No module named 'pexpect'`  
  `
  fatal: [1.2.3.4]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (pexpect)"`

* The Ansible playbook and Python module are missing from the R81.20 Multi-Domain Security Management Server.

## Cause

* The pexpect library is blocked.

* Playbook command "**expect**" is not supported by the Ansible collection or the Python version on the Ansible machine, for example:

  |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | `- name: playbook name` ` hosts: gw` ` connection: local` ` gather_facts: no` ` vars:` ` ansible_python_interpreter: /usr/bin/python3 tasks:` ` - name: "Lock database override"` ` raw: clish -c "lock database override"` ` ignore_errors: yes - name: "Set secondary NTP server"` ` raw: clish -c "set ntp server secondary 1.1.1.1 version 2" - name: "Install imported hotfix"` ` `**expect**`:` ` command: clish -c "installer install Check_Point_R81_20_JUMBO_HF_MAIN_Bundle_T76_FULL.tgz"` ` responses:` ` "Do you want to continue\\? \\(\\[y\\]es / \\[n\\]o / \\[s\\]uppress reboot\\)": "y\r" - name: "Save Configuration"` ` raw: clish -c "save config"` |

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
