The question @Michael referred to contains the answer. There was a bug in the code, which has since been fixed. The easiest thing for you to do would be to update your version of psychopy. If not, follow the instructions in @jon 's answer.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| UnicodeDecodeError utf8 codec | 1 | 1115 | April 9, 2018 | |
| UnicodeDecodeError when using the "sound" component | 4 | 2901 | February 15, 2018 | |
| Can't play sound file | 1 | 1329 | November 1, 2017 | |
| Problem with Psychopy2 Coder: Sound is not played | 5 | 981 | June 9, 2020 | |
| UnicodeEncodeError appearing randomly | 2 | 1020 | July 27, 2017 |