Psychopy encountered an unhandled internal error (changed )

I am running psychopy on a new computer (win7;64) and I get the following error. I have tried using four versions 2020.1.3, 2020.2.10, 2021.1.3, 2020.1.4 and all have the same problem. This is so upsetting to me!

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\”, line 1066, in runFile
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\”, line 559, in runLocal
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\”, line 73, in generateScript
compileScript(infile=exp, version=None, outfile=filename)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\”, line 242, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\”, line 221, in _makeTarget
script = thisExp.writeScript(outfile, target=targetOutput)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 172, in writeScript
localDateTime = data.getDateStr(format="%B %d, %Y, at %H:%M")
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\data\”, line 628, in getDateStr
now = time.strftime(format, time.localtime())
ValueError: embedded null byte

Can you try a different version of Windows 7?

Thanks for your reply. This computer has many important documents of others,so I can’t change the windows version easily.