hashlookup / hashlookup-forensic-analyser

Analyse a forensic target (such as a directory) to find and report files found and not found from CIRCL hashlookup public service - https://circl.lu/services/hashlookup/
https://hashlookup.github.io/hashlookup-forensic-analyser/
Other
121 stars 13 forks source link

Missing dependency declaration of `pytz` #5

Closed sthagen closed 2 years ago

sthagen commented 2 years ago

Why?

Without additionally installing pytz from pypi.org per pip the script does fail to start.

What?

The pytzpackage is not part of the standard install of python but instead hosted on the Python Package Index at pypi.org/project/pytz

Example failure:

$ python bin/hashlookup-analyser.py --include-stats -d . -v
Traceback (most recent call last):
  File "bin/hashlookup-analyser.py", line 11, in <module>
    import pytz
ModuleNotFoundError: No module named 'pytz'

How?

Add the pytz dependency to the requirements file and maybe add an install section to the documentation.

The latter might go like this:

Install

$ pip install -r REQUIREMENTS
adulau commented 2 years ago

Thank you! It's a good catch. It's fixed.