Skip to main content
Panther Knowledge Base

What do I do if GitHub workflow tests via PAT are failing due to a missing library?

Issue

When trying to test using Panther Analysis Tool (PAT), I am getting an error due to a missing library. The error looks similar to the following:

No module named 'policyuniverse'

Resolution

To resolve this issue:

  1. Confirm you are on the current PAT version by running the command panther_analysis_tool -- version.
  2. Confirm no changes have been recently made in your pipeline.
  3. Run either of the following commands: 
    • make
      make install
      make test
      
    • pipenv
      pipenv install --dev # if not using Pipfile.lock
      pipenv sync --dev # if using Pipfile.lock
      pipenv pipenv run python global_helpers/*_test.py
      pipenv run panther_analysis_tool test
      

 

Cause

The cause of this issue varies for each individual organization. If none of these commands resolve your issue, please reach out to Panther Support.

 

 

  • Was this article helpful?