Aternos-On-Discord icon indicating copy to clipboard operation
Aternos-On-Discord copied to clipboard

Cannot find Modules

Open OryZenDev opened this issue 3 years ago • 2 comments

I'll detail my step by step process here.

  1. Open Command Prompt
  2. Type in cd C:\Users\lecal\Desktop\Aternos-On-Discord-master
  3. Do pip install -r requirements.txt
  4. After it's done, do python3 Bot.py What It would give me back is this error;
File "C:\Users\lecal\Desktop\Aternos-On-Discord-master\Bot.py", line 1, in <module>
    import discord
ModuleNotFoundError: No module named 'discord'

I tried doing python -m venv venv source venv/bin/activate , which would create two folders named venv and source then pip install -r requirements.txt and I tried seperating the -m venv venv and source venv/bin/activate (Which just didn't work). I tried running the other files and only Configure.py worked, but even if I did put my info in it STILL would not find the module! I don't have any idea at this point...

PLEASE give me a solution or make a video for the poor souls who just have a small brain! We'd love to use this bot.

OryZenDev avatar Apr 08 '21 18:04 OryZenDev

You could try installing the discord module by itself by using pip install discord.py then try running the bot again

Thebestandgreatest avatar Apr 10 '21 18:04 Thebestandgreatest

i tried to do python Bot.py instead of python3 Bot.py and it worked, so if you have a couple of conflicting versions of Python like i did it might work for you too.

BlackCat626 avatar Jun 18 '21 14:06 BlackCat626