I am trying to run a task and the same error constantly appears.
In this case the problem occurs when the columns are created in the output file.
outputFile.write (outStr + “\ n”)
TypeError: a bytes-like object is required, not 'str’
If anyone has any ideas, I will really appreciate it.
Thanks in advance!