Skip to main content
Panther Knowledge Base

Error "AttributeError: 'PathDistribution' object has no attribute '_normalized_name'" when installing or updating PAT

Issue

Why do I get the error below when trying to reinstall panther-analysis-tool?

AttributeError: 'PathDistribution' object has no attribute '_normalized_name'

Resolution

To resolve this issue use Python version 3.9 for installing Panther Analysis Tool (PAT).

If you don't want to perform this in your environment, consider creating a virtual environment (create a venv with Python 3.9) that you can use specifically for Panther Analysis Tool.

Cause

This issue occurs due to compatibility issues with the Python version you are running. Ensure that you are using the version that's recommended on our PAT installing prerequisites page.