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

ошибочка #5

Open
defencebomb opened this issue Jun 18, 2024 · 8 comments
Open

ошибочка #5

defencebomb opened this issue Jun 18, 2024 · 8 comments

Comments

@defencebomb
Copy link

помогите пожалуйста
Traceback (most recent call last):
File "/storage/emulated/0/Download/eco/bot.py", line 2, in
import nextcord
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/nextcord/init.py", line 42, in
from .health_check import *
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/nextcord/health_check.py", line 3, in
from pkg_resources import DistributionNotFound, get_distribution
ModuleNotFoundError: No module named 'pkg_resources'

@Crone720
Copy link

ModuleNotFoundError: No module named 'pkg_resources'

@Fequme
Copy link
Owner

Fequme commented Jun 19, 2024

pip install -U setuptools

@defencebomb
Copy link
Author

defencebomb commented Jun 19, 2024

pip install -U setuptools

теперь это Traceback (most recent call last):
File "/storage/emulated/0/Download/eco/bot.py", line 64, in
for filename in os.listdir(".\cogs"):
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '.\cogs'

@defencebomb
Copy link
Author

теперь это Traceback (most recent call last):
File "/storage/emulated/0/Download/eco/bot.py", line 64, in
for filename in os.listdir(".\cogs"):
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '.\cogs'

@Fequme
Copy link
Owner

Fequme commented Jun 19, 2024

зайди в bot.py и поменяй "./cogs" на "cogs", может помочь

@defencebomb
Copy link
Author

defencebomb commented Jun 19, 2024

теперь это Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 740, in _load_from_module_spec
spec.loader.exec_module(lib) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/storage/emulated/0/Download/eco/cogs/delete.py", line 6, in
from captcha.image import ImageCaptcha
ModuleNotFoundError: No module named 'captcha'

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

Traceback (most recent call last):
File "/storage/emulated/0/Download/eco/bot.py", line 66, in
bot.load_extension(f"cogs.{filename[:-3]}")
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 862, in load_extension
self._load_from_module_spec(spec, name, extras=extras)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/nextcord/ext/commands/bot.py", line 743, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
nextcord.ext.commands.errors.ExtensionFailed: Extension 'cogs.delete' raised an error: ModuleNotFoundError: No module named 'captcha'

@defencebomb
Copy link
Author

все установил

@defencebomb
Copy link
Author

pandas баганый не хочет скачиваться

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

3 participants