0

Hi I was making a voice asssitant in python 3.11.0 and got 5 errors. The first error was

Traceback (most recent call last):File "E:\programs\python\tests\voice test\voice assitant.py", line 56, in <module>

The second Error was

assistant_speaks("What's your name, Human?")File "E:\programs\python\tests\voice test\voice assitant.py", line 25, in assistant_speaks
playsound(file, True)

The Third Error was

File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\playsound.py", line 35, in _playsoundWin
winCommand('open "' + sound + '" alias', alias)

The fourth error was

File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\playsound.py", line 31, in winCommand
raise PlaysoundException(exceptionMessage)File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\playsound.py", line 31, in winCommand
raise PlaysoundException(exceptionMessage)

The last error was

Error 263 for command:
    open "2mp3" alias playsound_0.4604879230986465
The specified device is not open or is not recognized by MCI.

I tried reinstalling playsound for the last one but the others I coudnt find an answer

and also the last error it is "2mp3" but I have typed "mp3" no 2

  • Greetings fellow Mango, for the last one maybe it is just `playsound(file, True)` depending on how you imported the library. – MangoNrFive Oct 28 '22 at 11:22

0 Answers0