Skip to content

Unable to run #4

@DiffusionDen

Description

@DiffusionDen

Hi,

I'm having trouble getting this bot to run, I'm getting the following error message:

Exception has occurred: ImportError
cannot import name 'ApplicationContext' from 'discord' (c:\Discord\PromptInspectorBot\venv\lib\site-packages\discord_init_.py)
File "C:\Discord\PromptInspectorBot\PromptInspector.py", line 17, in
from discord import (
ImportError: cannot import name 'ApplicationContext' from 'discord' (c:\Discord\PromptInspectorBot\venv\lib\site-packages\discord_init_.py)


ApplicationContext is there in the imports but it's as though it isn't recognized. Is there a particular version of Python that it needs to be running or something? The venv is on 3.10.11 and my PIP list is:

Package Version


aiohttp 3.9.5
aiosignal 1.3.1
async-timeout 4.0.3
attrs 23.2.0
discord 2.3.2
discord.py 2.3.2
frozenlist 1.4.1
idna 3.7
multidict 6.0.5
Pillow 9.4.0
pip 23.0.1
python-dotenv 1.0.1
setuptools 65.5.0
toml 0.10.2
yarl 1.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions