【问题标题】:Error message in IDLE 3.8.2: No module named 'discord'IDLE 3.8.2 中的错误消息:没有名为“discord”的模块
【发布时间】:2020-06-20 18:21:44
【问题描述】:

我正在尝试在 python 3.8.2 中运行一个空闲文件...不断弹出错误并显示“没有名为'discord'的模块”。我正在尝试制作一个不和谐的机器人,但 IDLE 似乎找不到一个名为不和谐的模块。它不断突出显示第 1 行的 import discord 语句。

【问题讨论】:

标签: python


【解决方案1】:

我猜你没有安装不和谐模块。请使用“pip install discord”安装它

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-06-07
    • 2017-05-30
    • 1970-01-01
    • 2017-01-25
    • 1970-01-01
    • 1970-01-01
    • 2021-06-28
    相关资源
    最近更新 更多