Похожие чаты

File "C:\Users\mahdi\Downloads\bot\bot3.py", line 24, in play playsound(path,

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

8 ответов

280 просмотров

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

𝓈𝒽𝒶𝒽𝓇𝑜𝑜𝓏- Автор вопроса
Manav | avoid unnecessary messaging me
python 7.7? what? You may try to change the path w...

in the stackoverflow some people said that it works with downgrading python to v 3.7

𝓈𝒽𝒶𝒽𝓇𝑜𝑜𝓏
in the stackoverflow some people said that it work...

well, try changing the path name, That error is caused by missing AVIVideo Value Name And i doubt you have that

𝓈𝒽𝒶𝒽𝓇𝑜𝑜𝓏- Автор вопроса
Manav | avoid unnecessary messaging me
well, try changing the path name, That error is ca...

ok thanks that is my client machine i will connect through anydesk and check the path and that

𝓈𝒽𝒶𝒽𝓇𝑜𝑜𝓏- Автор вопроса
Manav | avoid unnecessary messaging me
well, try changing the path name, That error is ca...

the problem was with path i've used absolute path instead of relative path it fixed thanks

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта