windows中Python Playsound报错:驱动程序无法识别指定的命令
playsound 1.3这个版本在windows中有问题,是由于使用了utf-16编码导致的。
将源码中command = ' '.join(command).encode('utf-16')变为command = ' '.join(command)即可
另外一个简单的解决方法:
卸载playsound 1.3, pip uninstall playsound 然后安装更稳定的playsound版本 pip install playsound==1.2.2 问题解决
浙公网安备 33010602011771号