When getting the latest psychopy version, I get the following error even with the simplest of experiments:
I’m installing via macos standalone with macOS Monterey 12.3
File "/Applications/PsychoPy 4.app/Contents/Resources/lib/python3.8/psychopy/contrib/lazy_import.py", line 118, in __call__
return obj(*args, **kwargs)
File "/Applications/PsychoPy 4.app/Contents/Resources/lib/python3.8/psychopy/iohub/client/connect.py", line 260, in launchHubServer
return ioHubConnection(iohub_config)
File "/Applications/PsychoPy 4.app/Contents/Resources/lib/python3.8/psychopy/iohub/client/__init__.py", line 294, in __init__
self.iohub_status = self._startServer(ioHubConfig, ioHubConfigAbsPath)
File "/Applications/PsychoPy 4.app/Contents/Resources/lib/python3.8/psychopy/iohub/client/__init__.py", line 944, in _startServer
self._osxKillAndFreePort()
File "/Applications/PsychoPy 4.app/Contents/Resources/lib/python3.8/psychopy/iohub/client/__init__.py", line 1348, in _osxKillAndFreePort
if line.startswith('Python'):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
################ Experiment ended with exit code 1 [pid:25958] #################