Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'discord.ext' on startup #19

Open
CrystalSpore opened this issue Aug 7, 2022 · 0 comments
Open

Comments

@CrystalSpore
Copy link

CrystalSpore commented Aug 7, 2022

Running into an issue upon migrating to a new system.

Steps I have ran:
pip3 install -U -r requirements.txt
python3 bot.py

Which produces the results:

# python3 bot.py
/usr/local/lib/python3.10/dist-packages/discord/__init__.py:47: UserWarning:
The next major version of discord.py (v0.10.0) will have major breaking changes
that will require updating/changing your code.
Please check the migrating guide to alleviate yourself of unexpected issues.
http://discordpy.readthedocs.org/en/latest/migrating.html
It is strongly recommended to make the switch as soon as possible.

  warnings.warn(_warning_message, UserWarning)
Traceback (most recent call last):
  File "/mnt/lgbteacafe_currently_casting/bot.py", line 4, in <module>
    from discord.ext import commands, tasks
ModuleNotFoundError: No module named 'discord.ext'

^^ This is happening both on the main branch & the DiscordExceptionHandling branch

Debug information:

# uname -a
Linux machina 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
# python3 --version
Python 3.10.4

Attempted troubleshooting steps:
Re-installed discord.py, tried switching to git+https://github.com/Rapptz/discord.py@async from the standard discord.py

Please let me know if there is anything else you need for helping troubleshoot this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant