Jul-13-2022, 08:59 PM
Hi,
I just encountered a strange problem. I'm trying to run my program but it fails to import modules at the beginning. Never-the-less pip reports that the modules are available. What can I do about this? Thanks in advance.
I just encountered a strange problem. I'm trying to run my program but it fails to import modules at the beginning. Never-the-less pip reports that the modules are available. What can I do about this? Thanks in advance.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
(Recruiter - bot) [brian@archlinux Recruiter - bot]$ / home / brian / Python / Recruiter - bot / Recuiter - bot / bin / python / home / brian / Python / Recruiter - bot / main.py Traceback (most recent call last): File "/home/brian/Python/Recruiter-bot/main.py" , line 4 , in <module> import discord ModuleNotFoundError: No module named 'discord' (Recruiter - bot) [brian@archlinux Recruiter - bot]$ pip show discord Name: discord Version: 1.7 . 3 Summary: A mirror package for discord.py. Please install that instead. Home - page: https: / / github.com / Rapptz / discord.py Author: Rapptz Author - email: License: UNKNOWN Location: / home / brian / Python / Recruiter - bot / lib / python3. 10 / site - packages Requires: discord.py Required - by: |