【发布时间】:2016-11-16 21:00:08
【问题描述】:
从命令安装 discord.py 后:-
python3 -m pip install -U discord.py
我无法从任何 python 程序中访问或使用 discord 库。还有什么我必须先做的吗?
基本上是通过“import discord”导入discord的时候发现错误的。
谢谢
【问题讨论】:
-
你得到了什么错误?
-
没有名为 discord 的模块
-
您在安装过程中是否遇到任何错误?
-
问题已解决。我不得不重新安装python。之后,一切正常。