First, go to python.org:
Hover over Downloads and select the Windows category (do NOT press the instant download button):
From here, find the latest 3.6 (NOT 3.7, NOT 3.5) release and choose the x86-64 executable installer.
Tick the Add Python to PATH box and then press Install Now.
Once the installation is done, press Close.
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 supportpy -3.6 -m pip install -U discord.pyfor without voice support
Once the command finishes, discord.py has been successfully installed:
To run your bot script, go to where it is located, hold Shift and right click in an empty space in the folder, and press Open command window here:
Then type py -3.6 <name of your script> (make sure to include the .py):
Your bot is now running.
Select Activities or press the Super button to open Search:
Once in Search, type in Terminal and select it:
Type in sudo apt-get update, typing in your password when prompted, to update your package repositories (this may take a while):
Once the repositories are updated, type in sudo apt-get install python3-dev python3-pip libffi-dev libopus-dev to install Python and voice libraries. When prompted, type y to confirm installation:
Install discord.py by using:
python3 -m pip install -U discord.py[voice]for voice supportpython3 -m pip install -U discord.pyfor without voice support
Note that PyNaCl may take a long time to compile.
Once the command finishes, discord.py has been successfully installed:
To run your bot script, go to where it is located, right click in an empty space in the folder, and press Open in Terminal:
Then type python3 <name of your script> (make sure to include the .py):
Your bot is now running.


















deadsnakes should be mentioned in Ubuntu installation