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

Installing imgtool is not working #2139

Open
lefebvresam opened this issue Dec 6, 2024 · 0 comments
Open

Installing imgtool is not working #2139

lefebvresam opened this issue Dec 6, 2024 · 0 comments

Comments

@lefebvresam
Copy link

If you install imgtool with:

sudo python3 mcuboot/scripts/setup.py install

And then do;

imgtool keygen -k filename.pem -t rsa-2048

You get:

Traceback (most recent call last):
  File "/usr/local/bin/imgtool", line 33, in <module>
    sys.exit(load_entry_point('imgtool==2.1.0', 'console_scripts', 'imgtool')())
  File "/usr/local/bin/imgtool", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'imgtool'
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