question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

it says "ModuleNotFoundError: No module named 'discord'"

See original GitHub issue

When I run py launcher.py db init (I know that’s not what it says in the README file but I am on windows) it gives this Traceback (most recent call last): File "launcher.py", line 6, in <module> import discord ModuleNotFoundError: No module named 'discord'

Please help me fix this

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Rapptzcommented, Aug 1, 2021

This isn’t really a place to get help with pip.

0reactions
superJK92iscoolcommented, Aug 2, 2021

I fixit now when I run it I get Could not load cogs.meta. Traceback (most recent call last): File "launcher.py", line 112, in init importlib.import_module(ext) File "C:\Users\super\AppData\Local\Programs\Python\Python38\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "C:\Users\super\Desktop\RoboDanny\Rdanny\RoboDanny\cogs\meta.py", line 2, in <module> from .utils import checks, formats, time File "C:\Users\super\Desktop\RoboDanny\Rdanny\RoboDanny\cogs\utils\time.py", line 3, in <module> from dateutil.relativedelta import relativedelta ValueError: source code string cannot contain null bytes @nxtlo

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'discord'
To check the interpreter PyCharm is using, go to File > Settings > Project: name > Project Interpreter. Then, in the CMD prompt,...
Read more >
ModuleNotFoundError: No module named 'discord' in Python
The Python "ModuleNotFoundError: No module named 'discord'" occurs when we forget to install the discord.py module before importing it or install it in...
Read more >
ModuleNotFoundError: No Module Named 'discord' in Python
How to Fix “ModuleNotFoundError: No module named 'discord'” in PyCharm · Open File > Settings > Project from the PyCharm menu. · Select...
Read more >
ImportError: No module named 'discord' · Issue #228 - GitHub
I haven´t solved it yet. The error message is: import discord ModuleNotFoundError: No module named 'discord'. I don´t have any Discord called ...
Read more >
Python 3.9.5 "No module named 'discord'" error on Windows 10
Code doesn't run due to the following error No module named 'discord' . I've installed discord.py using the following command in command ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found