python-discord-webhook icon indicating copy to clipboard operation
python-discord-webhook copied to clipboard

Pytest failing on arm64

Open odidev opened this issue 3 years ago • 2 comments
trafficstars

I have been working on installing and testing python-discord-webhook package for amd64 and arm64 architectures on my local server. While testing this package using pytest, I am getting the below error. It would be really helpful if you could share some pointers on it:

(venv38) root@4f87cd0255b6:/python-discord-webhook# python -m pytest 
============================= test session start==================================== 
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 
rootdir: /python-discord-webhook 
collected 0 items / 1 error  
============================= ERRORS ========================================= 
_____________________________ ERROR collecting tests/test_discordwebhook.py ________________ 
ImportError while importing test module '/python-discord-webhook/tests/test_discordwebhook.py'. 
Hint: make sure your test modules/packages have valid Python names. 
Traceback: 
/usr/lib/python3.8/importlib/__init__.py:127: in import_module 
    return _bootstrap._gcd_import(name[level:], package, level) 
tests/test_discordwebhook.py:2: in <module> 
    from discord_webhook.webhook import DiscordWebhook 
discord_webhook/__init__.py:3: in <module> 
    from .webhook import DiscordWebhook, DiscordEmbed 
discord_webhook/webhook.py:6: in <module> 
    from webhook_exceptions import * 
E   ModuleNotFoundError: No module named 'webhook_exceptions' 

odidev avatar Nov 23 '21 13:11 odidev

Is there any update on the above issue?

odidev avatar Dec 06 '21 13:12 odidev

have you tried reinstalling this module? maybe that can resolve this issue because i can see ModuleNotFoundError: No module named 'webhook_exceptions'

jindalpriyanshu101 avatar Dec 18 '21 09:12 jindalpriyanshu101