【问题标题】:DistributionWarning: discord.py is installed which is incompatible with nextcordDistributionWarning: 安装了与 nextcord 不兼容的 discord.py
【发布时间】:2021-10-02 14:53:41
【问题描述】:

如何解决这个问题?当我运行我的不和谐机器人时,它出现在终端中

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)

【问题讨论】:

  • Please remove this library by using pip3 uninstall discord.py 说你必须做什么。哪里有问题?你用的是什么程序?

标签: python python-3.x discord.py nextcord


【解决方案1】:

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

在您的终端中执行此操作:

pip3 uninstall discord.py

如果你有 discord.py[voice]:

pip uninstall discord.py[voice]

然后你安装nextcord

pip3 install nextcord

语音:

pip3 install nextcord[voice]

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-03-24
    • 2020-08-20
    • 1970-01-01
    • 2016-12-19
    • 2021-04-12
    • 2018-05-20
    • 1970-01-01
    相关资源
    最近更新 更多