I tried to use the playsound module to play an audio file. When I run my code I get this error:
Traceback (most recent call last):
File "/Users/Tarantino/Desktop/CodeTesting/sound.py", line 3, in <module>
playsound('sound.mp3')
File "/Users/Tarantino/Library/Python/3.8/lib/python/site-packages/playsound.py", line 67, in _playsoundOSX
raise IOError('Unable to load sound named: ' + sound)
OSError: Unable to load sound named: file:///Users/Tarantino/Desktop/Code Testing/sound.mp3
I have the audio file in the same folder as the Python code, could I please get help on what to do?