我正在创建一个可播放音乐的 discord.py 机器人,但我在使用 FFMPEG 时遇到了问题.FFMPEG 下载在我的项目文件夹中,但它仍然说找不到.问题可能是我没有将它添加到 PATH 但我不知道该怎么做,所以如果有人可以帮助我让它工作,那就太好了!
I'm creating a discord.py bot that will play music and I'm having trouble using FFMPEG. The FFMPEG download is in my project folders but its still saying that it cant be found. The problem is probably that I havent added it to PATH but I dont know how to do that so if anyone could help me get it working that would be brilliant!
要将 FFMPEG 添加到路径,您需要:
To add FFMPEG to path, you're going to want to:
in
.点击用户变量部分的Path
:
点击编辑...
:
点击新建
:
in
结尾):OK
以保存更改,您应该一切顺利!OK
in both menus to save your changes, and you should be good to go!这篇关于如何在 Windows 10 上为 discord.py 设置 ffmpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!