Mekolaos / Aternos-On-Discord

A Discord Bot to manage a minecraft server on Aternos.
GNU General Public License v3.0
101 stars 91 forks source link

Cannot find Modules #40

Open OryZenDev opened 3 years ago

OryZenDev commented 3 years ago

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.

Thebestandgreatest commented 3 years ago

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

BlackCat626 commented 3 years ago

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.