EinsteinBot icon indicating copy to clipboard operation
EinsteinBot copied to clipboard

Help fixing missing files.

Open vDucky opened this issue 4 years ago • 4 comments

Import "discord" could not be resolved Import "discord.ext" could not be resolved Import "validators" could not be resolved Import "cheinsteinpy" could not be resolved

I'm new when it comes to this stuff so some help would be amazing LOL. Also I love that you're providing this to everyone. Thank you for ur work <3

vDucky avatar Jan 26 '22 14:01 vDucky

Also, do you have a Discord by any chance? I feel like it would easier to communicate with you on that platform haha

vDucky avatar Jan 26 '22 21:01 vDucky

Okay, so I've solved the problem that issue myself ^ Had to do some research haha Now the only thing im having a problem with is this:

Traceback (most recent call last): File "C:\Users\EinsteinBot-master\bot.py", line 21, in bot.load_extension(f"cogs.{name}") File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\bot.py", line 678, in load_extension self._load_from_module_spec(spec, name) File "C:\Users\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\bot.py", line 609, in _load_from_module_spec raise errors.ExtensionFailed(key, e) from e discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.info' raised an error: AttributeError: module 'discord' has no attribute 'ui' PS C:\Users\EinsteinBot-master>

I keep getting this error when i run it^

vDucky avatar Jan 27 '22 00:01 vDucky

Alright after a long tedious day of me trying to find the solution to my question, I got it resolved however the Bug is still there so I guess i just have to wait haha

vDucky avatar Jan 27 '22 03:01 vDucky

Have you try install all requirement files by using

pip install -r requirements.txt

Dineshomapathi avatar Jan 27 '22 23:01 Dineshomapathi