Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install discord.py rewrite?

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.

like image 935
Code Monkey Avatar asked Jun 04 '18 18:06

Code Monkey


People also ask

How do I install discord.py package?

Windows Installation Open Command Prompt by typing cmd into Search. Install discord.py by using: py -3.6 -m pip install -U discord.py[voice] for voice support. py -3.6 -m pip install -U discord.py for without voice support.

Is discord.py easy?

discord.py is a modern, easy to use, feature-rich, and async ready API wrapper for Discord. Features: Modern Pythonic API using async / await syntax.


1 Answers

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.

like image 105
Patrick Haugh Avatar answered Sep 28 '22 01:09

Patrick Haugh