You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Putting this here because the cause of breakage was a changed Zephyr file; maybe it belongs in west too/instead.
So I happened to update to current master, and did a west update at some point too, and got this with ninja flash:
[blah blah blah]
FileNotFoundError: [Errno 2] No such file or directory: 'pyocd': 'pyocd'
Appears to be due to #12879 expecting a PyOCD release more recent than 0.12.0, which had been working fine and was what I got when I set up for Zephyr only three months ago.
It'd be more user-friendly if, when Zephyr introduces a dependency on an upstream tool interface change, that it would emit a diagnostic when it finds the previous release, including instructions on how to update. I only use pip because Zephyr requires it indirectly, and IMO should not be expected to know how to do this.
For others who get here and my own notes, it's:
pip3 install pyocd -U
which will (today) give you pyocd 0.16.1 and also update a bunch of other things for you at no extra charge.
The text was updated successfully, but these errors were encountered:
I don't really agree that users should be expected how to use pip, but it looks like there's some stuff in beyond-GSG that adds some clues about pip -U. I suppose that's good enough.
Putting this here because the cause of breakage was a changed Zephyr file; maybe it belongs in west too/instead.
So I happened to update to current master, and did a
west update
at some point too, and got this withninja flash
:Appears to be due to #12879 expecting a PyOCD release more recent than 0.12.0, which had been working fine and was what I got when I set up for Zephyr only three months ago.
It'd be more user-friendly if, when Zephyr introduces a dependency on an upstream tool interface change, that it would emit a diagnostic when it finds the previous release, including instructions on how to update. I only use
pip
because Zephyr requires it indirectly, and IMO should not be expected to know how to do this.For others who get here and my own notes, it's:
which will (today) give you pyocd 0.16.1 and also update a bunch of other things for you at no extra charge.
The text was updated successfully, but these errors were encountered: