Warm tip: This article is reproduced from serverfault.com, please click

python-如何安装discord.py rewrite?

(python - How to install discord.py rewrite?)

发布于 2018-06-04 18:06:36

我跑了,python3 -m pip install -U discord.py但它只安装了discord.pyv0.16.x。如何安装新的discord.py rewrite v1.0?

我使用卸载了旧的discord.pypip uninstall discord.py并重新运行pip以安装discord.py,只是再次获得了v0.16.x版本,而不是新的v1.0版本。

Questioner
Code Monkey
Viewed
0
Patrick Haugh 2018-06-05 03:43:32

尝试使用

pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]

这应该转到存储库rewrite分支discord.py并获取egg文件进行安装。