ImportError: No module named pyocd.tools.gdb_server
See original GitHub issueI used pip install -U pyocd
to upgrade my pyocd version today.
I try to run a GDB server with pyocd-gdbserver
and I get the following error output:
~ $ pyocd-gdbserver
Traceback (most recent call last):
File "/usr/local/bin/pyocd-gdbserver", line 7, in <module>
from pyocd.tools.gdb_server import main
ImportError: No module named pyocd.tools.gdb_server
I am using pyocd version 0.13.2 and arm-none-eabi-gdb version GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 8.1.0.20180315-git
In order to run a pyocd-gdbserver
I need to downgrade pyocd to version 0.12.x
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No module named pyocd.tools.gdb_server · Issue #465 - GitHub
I try to run a GDB server with pyocd-gdbserver and I get the following error ... ImportError: No module named pyocd.tools.gdb_server #465.
Read more >Building, Flashing and Debugging
If there is a Zephyr build directory named build in your current working directory, it is incrementally re-compiled. The same is true if...
Read more >GDB Python support, ImportError no module named gdb
After compilation when I run gdb, I see this warning: Python Exception <type 'exceptions.ImportError'> No module named gdb: warning: Could not ...
Read more >mbedmicro - Bountysource
I have noticed that recent pyOCD handles dependencies strictly. That causes problems when solving / developing multiple other dependencies - for instance I...
Read more >doc/application - zephyr - OSTC
Zephyr's base directory hosts Zephyr's own source code, its kernel configuration options, and its build definitions. The files in the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This looks like it might be caused by conflicting version requirements between htrun (used by greentea) and pyOCD. I’m working on fixing these tools so they can use the latest pyOCD.
Issue is resolved now after I updated to the latest pyOCD
pip install -U pyocd