You are not logged in.

#1 2022-07-14 17:14:49

biscotty666
Member
Registered: 2022-07-08
Posts: 37

pip not finding module even though pip shows it installed (discord_sla

Since posting here seems to make my problems disappear ;-)

[brian@archlinux Recruiter-bot]$ /usr/bin/python /home/brian/Python/Recruiter-bot/Playground.py
Traceback (most recent call last):
  File "/home/brian/Python/Recruiter-bot/Playground.py", line 3, in <module>
    from discord_slash import SlashCommand, SlashContext
ModuleNotFoundError: No module named 'discord_slash'

[brian@archlinux Recruiter-bot]$ pip list | grep discord
discord                  1.7.3
discord.py               1.7.3
discord-py-interactions  4.2.1
discord-py-slash-command 4.2.1

Offline

#2 2022-07-14 17:22:44

biscotty666
Member
Registered: 2022-07-08
Posts: 37

Re: pip not finding module even though pip shows it installed (discord_sla

And now this. Should I reinstall python?

(Recruiter-bot) [brian@archlinux Recruiter-bot]$ pip install -r "pipstatus.txt" 
Defaulting to user installation because normal site-packages is not writeable
Processing /build/python-rich/src/rich-12.4.4/dist/rich-12.4.4-py3-none-any.whl
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/build/python-rich/src/rich-12.4.4/dist/rich-12.4.4-py3-none-any.whl'

Offline

Board footer

Powered by FluxBB