JustinELRoberts / CookGroupBots

Discord bots which can be used by a cook group
11 stars 0 forks source link

No module named 'twitter' #3

Open cookgroup9999 opened 3 years ago

cookgroup9999 commented 3 years ago

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/bot.py", line 606, in _load_from_module_spec spec.loader.exec_module(lib) File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/root/cookgroup/BOT CG/CookGroupBots-master/cogs/twitterSuccessPoints.py", line 4, in import twitter ModuleNotFoundError: No module named 'twitter'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "main.py", line 385, in bot.load_extension(f"cogs.{cog}") File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/bot.py", line 678, in load_extension self._load_from_module_spec(spec, name) File "/usr/local/lib/python3.8/dist-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.twitterSuccessPoints' raised an error: ModuleNotFoundError: No module named 'twitter'

johan-naizu commented 3 years ago

pip install twitter i guess