The error you encountered is due to the use of the Python 2 - style raise syntax in the code of the sigpyproc library. In Python 3, the raise statement must use parentheses to enclose the exception type and error message. Specifically, raise ValueError, "New header is too long/short for file" should be replaced with raise ValueError("New header is too long/short for file").
The error you encountered is due to the use of the Python 2 - style raise syntax in the code of the sigpyproc library. In Python 3, the raise statement must use parentheses to enclose the exception type and error message. Specifically, raise ValueError, "New header is too long/short for file" should be replaced with raise ValueError("New header is too long/short for file").