Troubleshooting Steps for Python

For BigFix Runbook AI, Python is a prerequisite and any issues with Python will impact the functioning of its modules. Some specific issues include 'Pip not found' and 'The underlying connection was closed: An unexpected error occurred on receive'. The steps to resolve these issues involve re-installing Python and deleting certain folders in the setup tools.

Python is a prerequisite, required to run multiple components of BigFix Runbook AI. In any scenario, a persisting issue with python can impact the functioning of these modules of BigFix Runbook AI. Generic troubleshooting for Python can be reached at various resources on web. Below are some specific issues listed.

‘Pip not found’

Table 1. Table 126 - Python: Scenario 1
Issue Description Error message ‘Pip not found’ appears when installing/upgrading python components.
Modules Impacted All Python modules installation/upgrade
Probable Root Cause Python is not properly installed, or some issue is encountered

Steps to resolve

Re-install Python by referring the Prerequisite Document. Whenever such an issue is noticed a fresh installation of all python components on given host is required rather than upgrade because underlying libraries and dependencies are not properly installed.

‘The underlying connection was closed: An unexpected error occurred on receive’

Table 2. Table 127 - Python: Scenario 2
Issue Description The underlying connection was closed: An unexpected error occurred on receive
Modules Impacted All Python modules installation/upgrade
Probable Root Cause Setup tools is not properly installed

Steps to resolve

  1. Navigate to the {PythonHome}/Lib/site-packages/pkg_resources/_vendor folder
  1. Delete the below marked folders.
Figure 1. Figure 163 - Error in Python
  1. Restart all Apache/ Python component services.