How to install discord.py rewrite?

2020-02-01 07:39发布

I ran python3 -m pip install -U discord.py but it only installed discord.py v0.16.x. How do I install the new discord.py rewrite v1.0?

I uninstalled the old discord.py using pip uninstall discord.py and re-ran pip to install discord.py, only to get version v0.16.x again instead of the new v1.0 version.

4条回答
我只想做你的唯一
2楼-- · 2020-02-01 08:17

Open Command Prompt and type in;

pip install discord.py

or;

pip install discord.py==1.0.1

and then if you want voice do;

pip install discord.py[voice]

查看更多
smile是对你的礼貌
3楼-- · 2020-02-01 08:25

discord.py rewrite is now deleted and there is only async now!

查看更多
迷人小祖宗
4楼-- · 2020-02-01 08:26

Try using

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

That should go to the rewrite branch of the discord.py repository and get the egg file to install.

查看更多
姐就是有狂的资本
5楼-- · 2020-02-01 08:34

Or if not work:

python3 -m pip install -U https://github.com/Rapptz/discord.py/archive/rewrite.zip#egg=discord.py[voice]
查看更多
登录 后发表回答