Hello,
I was trying to run an experiment created using PsychoPy2 Experiment Builder (v1.83.01), 2015 in PsychoPy3 and it does not work.
An error occured an the experiment does not run:
##################### Running: C:\Users\Sara\Desktop\v5.py #####################
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
9.2382 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [‘sounddevice’, ‘PTB’, ‘pyo’, ‘pygame’] (in that order).
Traceback (most recent call last):
File “C:\Users\Sara\Desktop\v5.py”, line 24, in
_thisDir = os.path.dirname(os.path.abspath(file)).decode(sys.getfilesystemencoding())
AttributeError: ‘str’ object has no attribute ‘decode’
Experiment ended.
I’d be glad to get some feedback and information on what to do.
Sara