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

Pytest failing on arm64 #74

Open
odidev opened this issue Nov 23, 2021 · 2 comments
Open

Pytest failing on arm64 #74

odidev opened this issue Nov 23, 2021 · 2 comments

Comments

@odidev
Copy link

odidev commented Nov 23, 2021

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
Copy link
Author

odidev commented Dec 6, 2021

Is there any update on the above issue?

@jindalpriyanshu101
Copy link
Contributor

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

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

2 participants