how to install pip install discord in terminal code example Example: how to import discord in python py -3 -m pip install -U discord.py