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

'No module named issue' when running mqttwarn on Python 3.8.10 #699

Open
pdt590 opened this issue Nov 13, 2024 · 0 comments
Open

'No module named issue' when running mqttwarn on Python 3.8.10 #699

pdt590 opened this issue Nov 13, 2024 · 0 comments

Comments

@pdt590
Copy link

pdt590 commented Nov 13, 2024

  • Python 3.8.10
  • pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
Traceback (most recent call last):
  File "/home/akila/.local/lib/python3.8/site-packages/mqttwarn/util.py", line 6, in <module>
    from importlib.resources import files as resource_files  # type: ignore[attr-defined]
ImportError: cannot import name 'files' from 'importlib.resources' (/usr/lib/python3.8/importlib/resources.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/akila/.local/bin/mqttwarn", line 5, in <module>
    from mqttwarn.commands import run
  File "/home/akila/.local/lib/python3.8/site-packages/mqttwarn/commands.py", line 16, in <module>
    from mqttwarn.configuration import Config, load_configuration
  File "/home/akila/.local/lib/python3.8/site-packages/mqttwarn/configuration.py", line 12, in <module>
    from mqttwarn.util import load_functions
  File "/home/akila/.local/lib/python3.8/site-packages/mqttwarn/util.py", line 8, in <module>
    from importlib_resources import files as resource_files  # type: ignore[no-redef]
ModuleNotFoundError: No module named 'importlib_resources'

Can you help me to clarify this issue?
Thank you

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

1 participant