Open the CSV file in text mode
Open the CSV file in text mode

This should fix

_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)

with Python 3.
spdx/tools-python