How to install discord.py rewrite?

Code Monkey picture Code Monkey · Jun 4, 2018 · Viewed 25.4k times · Source

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.

Answer

Patrick Haugh picture Patrick Haugh · Jun 4, 2018

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.