How to install discord.py rewrite?

前端 未结 12 1812
小蘑菇
小蘑菇 2020-12-06 18:21

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 th

相关标签:
12条回答
  • 2020-12-06 18:33

    Use:

    py -m pip install discord.py
    
    0 讨论(0)
  • 2020-12-06 18:37

    Try Typing py -3.9 -m pip install discord.py[voice] --extra-index-url https://gorialis.github.io/pip/ in your CMD/Terminal.

    0 讨论(0)
  • 2020-12-06 18:39

    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]

    0 讨论(0)
  • 2020-12-06 18:43

    If you want to upgrade to the most recent version you can use:

    pip install discord.py --upgrade
    
    0 讨论(0)
  • 2020-12-06 18:45

    Open CMD and go to the folder of your discord bot eg:

    cd C:\Users\max\Desktop\DiscordBot

    Next type this in CMD: pip install discord.py That should work

    0 讨论(0)
  • 2020-12-06 18:46

    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.

    0 讨论(0)
提交回复
热议问题