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