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

error #104

Open
fily-gif opened this issue Aug 18, 2022 · 3 comments
Open

error #104

fily-gif opened this issue Aug 18, 2022 · 3 comments

Comments

@fily-gif
Copy link

hello, when i try to import the discord-webhook, it throws an error:

Traceback (most recent call last):
  File "/home/fily/code/nv/main.py", line 1, in <module>
    import discord_webhook
ModuleNotFoundError: No module named 'discord_webhook'

if anyone is still checking this, please help me, i installed the package using pip3 install discord-webhook

@ThreeTheOG
Copy link

It works for me when I use "pip install discord-webhook".

@lovvskillz
Copy link
Owner

Make sure that the package is installed into your virtualenv

@danywayGit
Copy link

danywayGit commented Sep 27, 2022

same for me since I using python 3.10.7 on Windows 10
I have removed, recreated and reinstalled the module in my venv, but without luck.

pip install discord-webhook
Requirement already satisfied: discord-webhook in c:\temp\git\myusername\myproject\venv-bot\lib\site-packages (0.17.0)
Requirement already satisfied: requests>=2.19.1 in c:\temp\git\myusername\myproject\venv-bot\lib\site-packages (from discord-webhook) (2.28.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\temp\git\myusername\myproject\venv-bot\lib\site-packages (from requests>=2.19.1->discord-webhook) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\temp\git\myusername\myproject\venv-bot\lib\site-packages (from requests>=2.19.1->discord-webhook) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in c:\temp\git\myusername\myproject\venv-bot\lib\site-packages (from requests>=2.19.1->discord-webhook) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\temp\git\myusername\myproject\venv-bot\lib\site-packages (from requests>=2.19.1->discord-webhook) (2.1.1)

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

4 participants