Skip to main content
Panther Knowledge Base

Panther error: cannot install panther_analysis_tool because package versions have conflicting dependencies

Issue

When trying to update panther_analysis_tool using:

pipenv install panther_analysis_tool

I'm getting this error: 

Cannot install panther_analysis_tool (version) because these package versions have conflicting dependencies

Resolution

To resolve this issue, use make install rather than pipenv install

Cause

In general, we recommend using make install rather than pipenv install for keeping dependencies aligned between local development, CI, and production environments. When you run pipenv install, the entire dependency tree is re-computed per the Pipfile. This can lead to transitive dependencies becoming inconsistent, and this can contribute to the issue described above. Alternatively, make install installs things exactly as prescribed in the Pipfile.