how to install the latest version of discord.py code example Example: how to import discord in python py -3 -m pip install -U discord.py