Cannot run my experiment

When I want to run my experiment, I get an error like this:


Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 1389, in runFile
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/runner/runner.py”, line 642, in runLocal
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 78, in generateScript
psychopy.scripts.psyexpCompile.LegacyScriptError: Error: Script compile exited with code 1. Traceback:
Traceback (most recent call last):
File “runpy.pyc”, line 196, in _run_module_as_main
File “runpy.pyc”, line 86, in _run_code
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 229, in
compileScript(args.infile, args.version, args.outfile)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 218, in compileScript
version = _setVersion(version)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/scripts/psyexpCompile.py”, line 117, in _setVersion
useVersion(version)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/tools/versionchooser.py”, line 251, in useVersion
ensurePythonCompatibility(requestedVersion)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/tools/versionchooser.py”, line 298, in ensurePythonCompatibility
requestedVersion = Version(requestedVersion)
File “packaging/version.pyc”, line 202, in init
packaging.version.InvalidVersion: Invalid version: ‘latest’

What can I do to solve this problem?

Go to Experiment Settings and change the use version to blank from latest