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 'commands' #89

Closed
kevincw01 opened this issue Jan 27, 2025 · 1 comment
Closed

ModuleNotFoundError: No module named 'commands' #89

kevincw01 opened this issue Jan 27, 2025 · 1 comment

Comments

@kevincw01
Copy link

I see there was another issue with the same problem but it was closed because the guy didn't respond with his path. Here's mine:
`>>> import sys

print(sys.path)
['', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/signalbot/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages']`

I also tried the examples\bot.py with the same result.

I also added sys.path.append(os.getcwd()) to the top of the example which would include the directory of the example (this was the supposed problem with the previous reported issue. Thanks for your help in advance.

@kevincw01
Copy link
Author

i see the issue. I had just copied the bot.py but it needs the commands folder as well. There's another issue but I'll report that seperately.

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