问题
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.
回答1:
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.
回答2:
Or if not work:
python3 -m pip install -U https://github.com/Rapptz/discord.py/archive/rewrite.zip#egg=discord.py[voice]
回答3:
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]
回答4:
discord.py rewrite is now deleted and there is only async now!
来源:https://stackoverflow.com/questions/50686388/how-to-install-discord-py-rewrite