Replies: 1 comment
-
Probably fixed with (recommended): $ west packages pip --install Or if you look at what the error is: $ pip install patool |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
──(myenv)─(hey㉿kali)-[~/zephyrproject/zephyr]
└─$ west sdk
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/west/commands.py", line 559, in call
mod = _commands_module_from_file(self.py_file)
File "/usr/lib/python3/dist-packages/west/commands.py", line 714, in _commands_module_from_file
spec.loader.exec_module(mod)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/hey/zephyrproject/zephyr/scripts/west_commands/sdk.py", line 9, in
import patoolib
ModuleNotFoundError: No module named 'patoolib'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/west/app/main.py", line 561, in run_command
self.run_extension(args.command, argv)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/west/app/main.py", line 685, in run_extension
self.cmd = self.extensions[name].factory()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/west/commands.py", line 561, in call
raise ExtensionCommandError(
hint=f'could not import {self.py_file}') from ie
west.commands.ExtensionCommandError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/west", line 8, in
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/west/app/main.py", line 1176, in main
app.run(argv or sys.argv[1:])
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/west/app/main.py", line 255, in run
self.run_command(argv, early_args)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/west/app/main.py", line 605, in run_command
self.handle_extension_command_error(ece)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/lib/python3/dist-packages/west/app/main.py", line 431, in handle_extension_command_error
self.cmd.err(msg, fatal=True)
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'err'
Beta Was this translation helpful? Give feedback.
All reactions