False)
File "C:\Users\mahdi\AppData\Local\Programs\Python\Python39\lib\site-packages\playsound.py", line 72, in _playsoundWin
winCommand(u'open {}'.format(sound))
File "C:\Users\mahdi\AppData\Local\Programs\Python\Python39\lib\site-packages\playsound.py", line 64, in winCommand
raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException:
Error 263 for command:
open alert_sounds/2.mp3
The specified device is not open or is not recognized by MCI.
anyone have any idea why i'm getting this error with playsound on windows?
can anyone play a sound asyncronsly on windows using playsound module?
pip install playsound
from playsound import playsound
playsound(path, False) #set the second parameter to play in bacground Default is True and block the code
i tried by downgrid python to python7.7 but it didn't fix the problem
python 7.7? what? You may try to change the path where there are no underscrore, only alphanumerics. There are some strange issues with playsound when it comes to path to the file
I think they meant 3.7 :v
i hope they didn't mean 2.7
in the stackoverflow some people said that it works with downgrading python to v 3.7
well, try changing the path name, That error is caused by missing AVIVideo Value Name And i doubt you have that
ok thanks that is my client machine i will connect through anydesk and check the path and that
the problem was with path i've used absolute path instead of relative path it fixed thanks
Обсуждают сегодня