我有Python3.8,每次我尝试用来安装discord.py
py -3 -m pip install -U discord.py上面写着:
> File "<stdin>", line 1
pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voic
^
SyntaxError: invalid syntax发布于 2020-10-26 11:42:26
使用pip install discord。如果您的机器上安装了Python的多个版本(如MacOS),请使用python版本,然后使用命令。例如(在MacOS版本和Linux上),对于python3.8,使用python3 pip install discord。对于Windows,如果你想指定在你的系统上使用python3.8的版本,你可以使用py -3 pip install discord.py。
发布于 2020-12-26 17:21:47
做
pip install discord.py[voice]在你的终端里。
发布于 2020-08-24 21:36:16
也许只需转到Pypi站点、download the wheel和文件现在所在的目录:
py -3 -m pip install -U discord.py-1.4.1-py3-none-any.whlhttps://stackoverflow.com/questions/63561986
复制相似问题