Unable to run CARR script from NSX Manager due to Python version error.
search cancel

Unable to run CARR script from NSX Manager due to Python version error.

book

Article ID: 450034

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

When executing the Certificate Analyzer, Results, and Recovery (CARR) script from an NSX Manager appliance, the process fails with the following error:

Installed python3 version is <version older than 3.8>. It should be equal or greater than 3.8 version.

Environment

NSX 4.0.x

NSX 3.2.1

Cause

NSX versions prior to 3.2.3.x and 4.0.x ship with an onboard Python 3 version lower than 3.8.

Resolution

Run the CARR script from an alternative system that meets the Python version requirement:

  1. Use an existing system: Execute the script from another virtual machine (such as a vCSA) that has Python 3.8 or later installed.

  2. Deploy a new VM: If no suitable machine is available, deploy a new VM specifically for this task. Refer to Create a virtual machine for running the Certificate Analyzer, Results and Recovery (CARR) Script for setup details.

Additional Information

Checking Python Version:
Verify the installed Python version on your system by running:

python --version

Python Version Capabilities:

Python 3.8 – 3.12: Supports both online and offline execution.

Python 3.13+: Requires active internet connectivity on the client machine (cannot be run offline).

Please refer to this KB article for more details.