DistributionWarning: discord.py被安装,与nextcord不兼容 &g



如何解决这个问题?当我运行我的discord bot时,这个出现在终端

DistributionWarning: discord.py is installed which is incompatible with nextcord. Please remove this library by using pip3 uninstall discord.py
warn(message, DistributionWarning, stacklevel=0)

为了使nextcord工作,您需要卸载discord.py。

那么在您的终端中这样做:

pip3 uninstall discord.py

如果你有discord.py[voice]:

pip uninstall discord.py[voice]

然后安装nextcord

pip3 install nextcord

声音:

pip3 install nextcord[voice]

相关内容

  • 没有找到相关文章

最新更新