When trying to install Panther Analysis Tool I encounter the following error: "AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'"
Issue
When attempting to install PAT, I encounter the following error: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
.
Resolution
To resolve this issue:
- Execute your command in a virtual environment using
pipenv
(i.e.pipenv run pip3 install panther_analysis_tool
)
or - Install the dependency in your local environment by running
pip3 install -U pyopenssl cryptography
-
Cause
This issue arises because your command attempts to execute in your local Python environment, which lacks the necessary dependencies.