no onee.e..e.e
no onee.e..e.e

Reputation: 11

Discord.py rewrite failed

I am keep getting this error Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-RQYKe_/aiohttp/ what is the error and how can I fix it?

Upvotes: 0

Views: 134

Answers (1)

creed
creed

Reputation: 1427

You are getting this exception because your setuptools or pip may be out of date, run these commands to upgrade them then try to install discord.py again:

pip install --upgrade setuptools pip

pip install discord.py

Then restart Python and import the modules like this:

import discord
from discord.ext import commands

Upvotes: 1

Related Questions